Latest questions in Selenium

0 votes
1 answer

Error: StaleElementReferenceException with WebDriver

I faced this exact problem once before. ...READ MORE

Jun 21, 2018 in Selenium by nsv999
• 5,500 points
886 views
0 votes
1 answer

Not able to find web element in Span Tag

Try using class selector also. driver.findElement(By.cssSelector(".login-link")).click(); hash is used ...READ MORE

Jun 21, 2018 in Selenium by Samarpit
• 5,910 points
5,205 views
0 votes
1 answer

Matching different browser version and selenium driver version

Look at the below link to see ...READ MORE

Jun 21, 2018 in Selenium by Samarpit
• 5,910 points
2,501 views
0 votes
1 answer

Clear text from text area using selenium WebDriver

use the below code: driver.find_element_by_id('abc').clear(); READ MORE

Jun 20, 2018 in Selenium by Meci Matt
• 9,460 points
32,110 views
0 votes
1 answer

How to take screenshot of a frame using Selenium WebDriver?

you can use the below code: import java.awt.image.BufferedImage; import ...READ MORE

Jun 20, 2018 in Selenium by Meci Matt
• 9,460 points
3,136 views
0 votes
3 answers

Click Allow on Show Notifications popup using Selenium Webdriver

Try this: Robot robot = new Robot(); robot.delay(5000); robot.keyPress(KeyEvent.VK_TAB); robot.keyPress(KeyEvent.VK_ENTER); hope this ...READ MORE

Mar 1, 2020 in Selenium by anuj
28,626 views
0 votes
1 answer

Click on a button within a pop-up window with python selenium

It's not an Alert but a Modal Dialog Box. You ...READ MORE

Jun 20, 2018 in Selenium by Samarpit
• 5,910 points
30,946 views
0 votes
1 answer

Error in for loop to fetch data from excel in selenium

You are closing theFileInputStream inside the for-loop. ...READ MORE

Jun 20, 2018 in Selenium by Samarpit
• 5,910 points
3,628 views
0 votes
2 answers

How to solve the error while connecting real iOS device with Appium server?

Run Command 'ideviceinstaller in Terminal and found ...READ MORE

May 14, 2019 in Selenium by Siddharth
2,272 views
0 votes
1 answer

Native logger in Selenium WebDriver

Select the log types you want and ...READ MORE

Jun 19, 2018 in Selenium by Meci Matt
• 9,460 points
1,436 views
0 votes
1 answer

Integration of Protractor using Jenkins

I created a script, as follows # start ...READ MORE

Jun 19, 2018 in Selenium by Meci Matt
• 9,460 points
1,662 views
0 votes
1 answer

Refreshing web page in Selenium WebDriver

you can use the below code to ...READ MORE

Jun 18, 2018 in Selenium by Meci Matt
• 9,460 points
659 views
0 votes
1 answer

Select a drop down value of angular js application using selenium using text

To select drop down use following, driver.findElements(By.className("Your dropdown ...READ MORE

Jun 18, 2018 in Selenium by Samarpit
• 5,910 points
10,426 views
0 votes
6 answers

How to get text found between span – selenium

The text "Search Zone" is not part ...READ MORE

Feb 28, 2019 in Selenium by Trying to Figure
74,806 views
0 votes
1 answer

Difference between Selenium RC and WebDriver

Selenium RC Selenium Remote Control (RC) is used ...READ MORE

Jun 14, 2018 in Selenium by Meci Matt
• 9,460 points
1,616 views
0 votes
2 answers

What is Page Object Model in Selenium WebDriver?

POM is one of design pattern. maintenance  should ...READ MORE

Sep 4, 2020 in Selenium by Sri
• 3,190 points
1,175 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,517 views
+1 vote
1 answer

Throwing Hamcrest exception message while actual and expected are same

Below will help you: Its due to string ...READ MORE

Jun 14, 2018 in Selenium by Samarpit
• 5,910 points
543 views
0 votes
1 answer

Selenium Webdriver call function Java Scipt

To run Javascript with selenium web driver you should ...READ MORE

Jun 14, 2018 in Selenium by Samarpit
• 5,910 points
3,751 views
0 votes
2 answers

How to get HTML Source of WebElement in Selenium WebDriver using Python?

If you want to get the html ...READ MORE

May 31, 2019 in Selenium by Atul Singh
39,372 views
0 votes
1 answer

Using Selenium IDE with some random values

 Selenium IDE is not used, it is ...READ MORE

Jun 13, 2018 in Selenium by Meci Matt
• 9,460 points
3,953 views
0 votes
1 answer

My Windows authentication code no longer working now

Try below of the options driver.switchTo().alert(); or driver.sw ...READ MORE

Jun 12, 2018 in Selenium by Samarpit
• 5,910 points
666 views
0 votes
1 answer

Sending keys to credit card fields (fields are from stripe) using selenium

Below code will help you: String cnum = ...READ MORE

Jun 12, 2018 in Selenium by Samarpit
• 5,910 points
6,721 views
0 votes
1 answer

Clicking on hidden element in Selenium WebDriver

let us first store that element in the ...READ MORE

Jun 12, 2018 in Selenium by Meci Matt
• 9,460 points
12,902 views
0 votes
2 answers

Check that the element is clickable or not in Selenium WebDriver

Hi , you want to know only is ...READ MORE

Aug 31, 2020 in Selenium by Sri
• 3,190 points
33,241 views
0 votes
1 answer

Handling elements inside Shadow DOM in Selenium WebDriver

You can use the driver.executeScript() method to access the ...READ MORE

Jun 11, 2018 in Selenium by Meci Matt
• 9,460 points
7,997 views
0 votes
1 answer

Handling pop up in Chrome using Selenium WebDriver

AutoIt Window Information Tool do not recognize ...READ MORE

Jun 11, 2018 in Selenium by Meci Matt
• 9,460 points
2,672 views
0 votes
1 answer

How to resolve the issue: Xpath for node without text but child has text

This will help you: //strong[not(normalize-space(text()))]/span[te ...READ MORE

Jun 11, 2018 in Selenium by Samarpit
• 5,910 points
3,860 views
0 votes
1 answer

Safari getting launched on ios simulator, but not able to get url using driver.get(“”)

Below github link will help as the ...READ MORE

Jun 11, 2018 in Selenium by Samarpit
• 5,910 points
1,728 views
0 votes
1 answer

Is there a way to pass on the options/ flags to Selenium if i'm scripting in Python?

This is the usage: from selenium import webdriver from ...READ MORE

Jun 8, 2018 in Selenium by king_kenny
• 3,710 points
4,590 views
0 votes
2 answers

Selenium WebDriver Error: AttributeError: 'list' object has no attribute 'click'

If you are going to use a ...READ MORE

Jan 17, 2020 in Selenium by lwazi
34,839 views
0 votes
1 answer

browse a website using selenium webdriver

You can use the below code: public class ...READ MORE

Jun 8, 2018 in Selenium by Meci Matt
• 9,460 points
512 views
0 votes
1 answer

Switching browsers in Selenium WebDriver

You can try the below code: private ...READ MORE

Jun 8, 2018 in Selenium by Meci Matt
• 9,460 points
393 views
0 votes
1 answer

Not able to call onclick datepicker function python selenium

To pass customized dates e.g. 2017/07/14. You have ...READ MORE

Jun 8, 2018 in Selenium by Samarpit
• 5,910 points
3,538 views
0 votes
1 answer

Returning null element when using following and preceding XPath selector

To identify the <input> tag with respect to the <label> tag ...READ MORE

Jun 8, 2018 in Selenium by Samarpit
• 5,910 points
2,920 views
0 votes
1 answer

Checking HTTP Status in Selenium

This might not be the best use ...READ MORE

Jun 7, 2018 in Selenium by Meci Matt
• 9,460 points
758 views
0 votes
1 answer

Selenium WebDriver.get(url) not working

It is a Selenium defect. Problem is ...READ MORE

Jun 7, 2018 in Selenium by Meci Matt
• 9,460 points
8,826 views
0 votes
2 answers

How to open a browser window in full screen using Selenium WebDriver with C#

Hi , we have inbuilt method Maximize(). driver.Manage().Wind ...READ MORE

Sep 6, 2020 in Selenium by Sri
• 3,190 points
15,527 views
0 votes
1 answer

Click a link within an iFrame which opens a new tab and switch to it

While switching the TAB induce WebDriverWait and switch accordingly. Below code ...READ MORE

Jun 7, 2018 in Selenium by Samarpit
• 5,910 points
4,287 views
0 votes
1 answer

There is an problem with the Recursion in Java. Method is returning empty list

checkMonth(driver) Ignore the List returned by that call. Perhaps you want ...READ MORE

Jun 6, 2018 in Selenium by jonss
847 views
0 votes
1 answer

How to select first instance of a button in a table row based on cell content by XPath

This xpath should give you all the ...READ MORE

Jun 6, 2018 in Selenium by jons
14,803 views
0 votes
1 answer

Fluent wait example with code

When we try to test the presence ...READ MORE

Jun 5, 2018 in Selenium by walter 123
• 240 points
13,464 views
0 votes
1 answer

How To move physical mouse pointer in selenium and c#

You can't show the mouse pointer moving and ...READ MORE

Jun 4, 2018 in Selenium by Samarpit
• 5,910 points
3,609 views
0 votes
1 answer

How to launch new activity for Appium Android?

Firstly, test if the activity you want ...READ MORE

Jun 4, 2018 in Selenium by Samarpit
• 5,910 points
3,372 views
0 votes
2 answers

what is the need of xpath when you have attributes like id ,class,name in selenium?

some of the controls not have id ...READ MORE

Sep 4, 2020 in Selenium by Sri
• 3,190 points
1,563 views
0 votes
2 answers

What is following-sibling in selenium?

Xpath=//*[@type='text']//following::input[2] READ MORE

Sep 4, 2020 in Selenium by Sri
• 3,190 points
11,288 views
0 votes
1 answer

preceding-sibling in xpath, Selenium?

Here, ul has 8 children(8-li) on total.  And, ...READ MORE

Jun 1, 2018 in Selenium by Vinita
• 220 points
13,755 views
0 votes
1 answer

Selenium WebDriver typing speed is slow in input text field

It worked for me in the 64bit ...READ MORE

Jun 1, 2018 in Selenium by Meci Matt
• 9,460 points
12,368 views
0 votes
1 answer

Selenium WebDriver 2.4.0 alert checking

You can go for the below option: driver.switch_to.alert.accept ...READ MORE

Jun 1, 2018 in Selenium by Meci Matt
• 9,460 points
472 views
+1 vote
1 answer

Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms.

This issue generally happens due to incompatibility ...READ MORE

Jun 1, 2018 in Selenium by bits1
• 120 points
10,475 views