Getting error when I try to use user agent in Chrome options while running my test

I am using PHP-behat. When I try running the test in automation and using user agent, It throws me an error. It only throws error when I use Chrome Options to set user agent. Could you please let me know why this is happening?

Hello Richard,

Could you please check if there is any empty string going in your Chrome Options under any tab like binary For instance image

If yes, then try passing the value NULL into it and the test would run fine

Thanks

1 Like