Skip to content
Advertisement

Tag: selenium

To select dropdown menu on PHP/selenium doesn’t work

I’m tring to select this dropdown list using PHP/selenium. My code is below: and I tried all attempts suggested in this post. Non of them works. I want your help. Thank you. Answer If this css: or this xpath: represent unique node in HTMLDOM which means 1/1 matching node then you can use the below code to select the desired

PHP Selenium Blocked by CORS Policy

I am trying to access a website with selenium and i am getting below error And i used the following code i have tried header(‘Access-Control-Allow-Origin: *’); but did’t work for me Answer It could be you’re using old php webdriver client (2013) ? which is not compatible with current selenium and browser. use updated PHP selenium facebook/webdriver and here the

No reaction to website login with Selenium

I can login to the PHP website https://panel-support.oasgames.com/panel/ajaxrela/login manually, which will show a bird animation and on failed login show “Failed to login” on the website, whereas on successful login it will redirect to the main page. Login happens via POST, which returns JSON. But when I use the following executable snippet and login in the automated Chrome window (manually

Advertisement