Category "selenium-webdriver"

Selenium Webdriver and XStudio

Does anybody know how to setup XStudio to run Selenium Webdriver Tests? I cannot find any documentation or information about that. There is only one mention on

How to send ESC key to close pop up window using Python and Selenium?

As mentioned, is there a way to send global ESC key to close popup(CSS MODAL Window)? I tried following but did not work: driver.find_element_by_tag_name('body

Xpath for button having text as 'New'

In our application almost in every screen we have a button with text 'New', Here is the html source for one of the button: <button id="defaultOverviewTable:

Test if element is present using Selenium WebDriver?

Is there a way how to test if an element is present? Any findElement method would end in an exception, but that is not what I want, because it can be that an el

Selenium 4.x execute "Page.addScriptToEvaluateOnNewDocument" properly

I'm having a strange issue where I really cannot find a solution. My production website needs some testing and of course bot checking is enabled (not naming it)

Selenium getting error

This is my selenium test script. import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.ie.Internet

How can I select all the options in a drop down- Selenium Webdriver?

Currently working on Selenium WebDriver and using Java. If I have drop down name called Product.. In that drop down I have so many values (for ex:60). when exe

What is the best way to avoid NoSuchElementException in Selenium?

I have written few test cases in Selenium WebDriver using Java and execute them on grid (hub and multiple nodes). I have noticed that a few test cases fail due

How to use verifyText for comparing two strings?

As we know, assert continues the execution but verify stops the execution the moment the script fails. e.g suppose two string abc, abd xyz i want to verify the

how do I make Selenium webdriver to read a csv file to perform an action

how do I make Selenium webdriver to read a csv file to perform an action. I have my script to load it in the browser and perform an action how do I make it to r

Selenium Webdriver - how to get the value in span tag

<span id="email-display">myemailid</span> How could i get the value between the span tag in selenium webdriver? I tired using this code: System.

Selenium DOM is not changed after execution of Angular ng-if condition

we have following code on page which has angular ng-if condition. <p ng-if="!old_email" style="line-height: 20px; font-weight: normal;"><b>Hi,</

How to set Selenium Python WebDriver default timeout?

Trying to find a good way to set a maximum time limit for command execution latency in Selenium Python WebDriver. Ideally, something like: my_driver = get_my_

How to automate OTP using selenium web driver?

I am doing automation for registration in a website but the problem is that it sends an OTP once i enter mobile no. after enter otp it will ask for password and

Selenium-Python: How do I make my WebDriverWait a few seconds before reloading a page?

So I have a section of code that checks a part of a webpage to see if the status has been changed to get to the next step in the script. It refreshes the page i

Selenium-Python: How do I make my WebDriverWait a few seconds before reloading a page?

So I have a section of code that checks a part of a webpage to see if the status has been changed to get to the next step in the script. It refreshes the page i

Selenium-Python: How do I make my WebDriverWait a few seconds before reloading a page?

So I have a section of code that checks a part of a webpage to see if the status has been changed to get to the next step in the script. It refreshes the page i

Selenium-Python: How do I make my WebDriverWait a few seconds before reloading a page?

So I have a section of code that checks a part of a webpage to see if the status has been changed to get to the next step in the script. It refreshes the page i