symfony / panther

A browser testing and web crawling library for PHP and Symfony
MIT License
2.91k stars 213 forks source link

Could not start chrome. Exit code: 126 (Invoked command cannot execute) #596

Open gavinhewitt opened 1 year ago

gavinhewitt commented 1 year ago

I'm trying to run Panther from production but I keep hitting Could not start chrome. Exit code: 126 (Invoked command cannot execute). Error output: sh: 1: exec: /home/path/to/drivers/chromedriver: Exec format error. Any ideas on how to fix? Locally it works fine :-(

Chris53897 commented 10 months ago

Did you change that path manual for this issue? /home/path/to/drivers/chromedriver Looks like the chromedriver is not found. The path looks like a default path, that need to be replaced by the real one.