Category : selenium-chromedriver

After updating chrome driver to ChromeDriver 91.0.4472.19 The value attribute have dissapeared from the input elements. Protractor cannot access the value attribute. let x = await xDiv.getEl("#xInput").getAttribute(‘value’); // x = null Using the Chrome Dev Tools, I am also not able to see the value attribute of any input element in the markup. Using AngularJS ..

Read more

Chrome has recently updated to 90.0.4430.72 on my machine (Mac OS) and when my protractor test suites run, they fail to run my tests correctly – I do have chromedriver updated as well to match the browser version. I have tracked this down to the maxInstances protractor config option (in multiCapabilities section) which I have ..

Read more

I have few Angular 9.x pages to automate and i am using SpecFlow and Selenium WebDriver(v3.14) for this. I got the post : wait until angular 2+ has finished loading issue which explains how to wait until angular 2+ has finished loading. I am using the same script ‘Dave’ mentioned in the solution. script = ..

Read more

I have a button which is disabled until username, password is filled in. I tried simple code snippet as follows: element = browser.find_element_by_xpath(xpathOfSubmitButton) print(e.is_enabled()) Output: True What I want to achieve is to check if the button is disabled until all values are correctly filled. Note: Our website is Angular 9 based, if that could ..

Read more

While handling angular application If the browser.waitForAngularEnabled(true) then getting the below error while clicking an element. ScriptTimeoutError: script timeout (Session info: chrome=85.0.4183.121) Driver info: chromedriver=85.0.4183.38 (9047dbc2c693f044042bbec5c91401c708c7c26a-refs/branch-heads/[email protected]{#779}),platform=Windows NT x86_64) Below is the root element < app-root _nghost="" ng-version="8.0.0"> Even after updating the root element as below in config file. Getting the same error. rootElement: ‘app-root’ Note: ..

Read more