Skip to content
Advertisement

python script is not able to invoke chrome driver on azure

When I am checking my automation script on azure which is trying to invoke chrome driver, it is giving me below error. Script is in python.

JavaScript

Advertisement

Answer

According to your error information, per my experience, I think you were using Azure App Services to try to drive a chrome you uploaded via webdriver to load some dynamic web content to extract something.

However, accoring to the restrictions of Azure Web App sandbox, you could not use anything which will call GDI system on Azure WebApp. About the Windows Error, you can refer to here to know more details.

As a workaround way, my suggestion is that you can try to run your code on Azure VM. Or per my guess based on the tags for this thread, I think you just might want to do some web unit test via webdriver with chromedriver, please see here.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement