PhantomJs webdriver issue on Azure web job Excepti

2019-09-14 16:59发布

I am working with Phantomjs web diver to get page source .it's working fine on local but when i host webjob on azure then its giving me exception;

OpenQA.Selenium.WebDriverException: Cannot start the driver service on http://localhost:51293/

http://localhost:51293/ this path changed at every run .

1条回答
我只想做你的唯一
2楼-- · 2019-09-14 17:18

PhantomJS is not supported by Azure Web App/Web Jobs currently. It is noted in the end of following official document.

Azure Web App sandbox - Unsupported frameworks

Other scenarios that are not supported: PhantomJS/Selenium: tries to connect to local address, and also uses GDI+.

查看更多
登录 后发表回答