When using FluentWait in Selenium, it is possible to configure the polling duration of the FluentWait As far as I know, that is the frequency of checking if the element exists, for example So, if the timeout is 3 seconds, and the polling duration set is 250 milliseconds, the driver will check for element 12 t…
Tag: selenium
Amazon.in site language setting radio button handling in selenium
I am new to selenium automation and while learning radio button handling in selenium, I tried to automate language setting in amazon.in page. I am unable to select the radio button listed in the page. site: https://www.amazon.in/customer-preferences/edit?ie=UTF8&preferencesReturnUrl=%2F&ref_=topnav_la…
How to extract all text’s link and other properties form html?
Note, if it is single element I can extract but I need to extract all of them together. Hi I am trying to extract the text and link from a list of items from a page using Selenium and Java. I am able to extract all link text but facing issue to figure out the link text. The html code
How to write in pre tag?
I can’t write value to field using Selenium .sendKeys. So I use jsCode: and I can’t understand why these methods don’t work – the test passes but the value is not written to the field $(“div pre”).append(“RESPONSE”) – work in devTools Full html code: Answe…
How to match the string and click on selenium webdriver
I Have an two string in Auto suggestion Dropdown Like 1. qapostgres112axdef 2. qapostgres112 I need to match the second value (qapostgres112) and need to click on it. for that I used the contains() method. since, both the String contains the same characters ‘qapostgres112’ selenium performs click …
Containerizing executables in Java
I have a CEF (Chromium Embedded Framework) application I am controlling with Selenium. Normally the application does not allow multiple instances of it to be running at the same time since it modifies directly its root files. I need to be able to run multiple instances (controlled by Selenium) though and some…
Appium + selenium grid: Appium successfully registers to grid but doesn’t make status calls
My Appium + selenium grid has been workin fine up until a few days ago. Now when i start my appium node it’ll register onto the local grid: However it no longer sends get status calls like before and the grid will mark it as down and clean it up as a stale session after some time or if you
How to check if all the elements present on the page
I am using page object model using page factory selenium using Java I have page class for example: I want to check if all the elements defined in the page class are displayed on the webpage. I want to perform this on in all my page classes. Looking for reusable generic method which can be written in BasePage …
Kill network connection in the middle of the test using Selenium Java
I’m trying to kill my network in the middle of a test. and when I kill the network, the system should prompt a dialog saying network is gone. When I do this manually, I get the dialog. And I used the following code, When I run this code, it won’t give me that dialog. but, when I refresh the page,
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: not able to locate the element inside table tag
I was trying to locate the element which is present inside the table tag But iam getting the error “org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {“method”:”xpath”,”selector”:”//div[@id=’divTable’]/child::div/…