Trending questions in Selenium

0 votes
1 answer

How to find all broken/invalid links from a webpage using python selenium?

Hi Ruchi, following lines of code can ...READ MORE

Jul 31, 2019 in Selenium by Anvi
• 14,150 points
3,730 views
0 votes
1 answer

How to locate an element by partially comparing its attributes in XPath?

Hey Lakshya, you can locate an element ...READ MORE

Jun 24, 2019 in Selenium by Abha
• 28,140 points
5,361 views
0 votes
1 answer

How can I perform mouse hover to a web element with ruby and selenium webdriver?

Hi Siddhart, checkout the following script to ...READ MORE

Aug 26, 2019 in Selenium by Abha
• 28,140 points
2,633 views
0 votes
1 answer

how to solve " java.lang.IllegalStateException"?

Include the below line in your code ...READ MORE

Jun 24, 2019 in Selenium by John
5,253 views
0 votes
1 answer

I want to create a Custom ExpectedCondition to test a specific condition in Selenium. is it possible to achieve the same?

Hey @Revathy, yes it is possible to ...READ MORE

Jul 4, 2019 in Selenium by Anvi
• 14,150 points
4,857 views
+1 vote
1 answer

ElementNotVisibleException in selenium with cucumber

@Mahesh, can you share your code where ...READ MORE

Oct 10, 2019 in Selenium by Abha
• 28,140 points
1,153 views
0 votes
1 answer

What are the advantages of using Data-driven Test framework?

Hey Huma, some of the advantages of ...READ MORE

Jul 16, 2019 in Selenium by Abha
• 28,140 points
4,306 views
0 votes
1 answer

What are the types of Selenium commands?

Hi Shekhar, Selenium commands are basically classified in ...READ MORE

May 14, 2019 in Selenium by Anvi
• 14,150 points
6,980 views
0 votes
0 answers

Cannot scroll down to an element that is not in view using selenium-ruby

I'm trying to search for an element ...READ MORE

Aug 19, 2019 in Selenium by Tester
2,740 views
0 votes
1 answer

How MaxSessions are different from MaxInstances properties of Selenium Grid?

Hello Palak, MaxInstances is the no. of browser ...READ MORE

Jun 24, 2019 in Selenium by Anvi
• 14,150 points
5,157 views
0 votes
1 answer

How can I handle Javascript Alert popup using Ruby Selenium webdriver?

Hey Usman, you can use driver.switch_to.alert method ...READ MORE

Aug 27, 2019 in Selenium by Abha
• 28,140 points
2,344 views
0 votes
1 answer

How to disable infobar in Chrome browser in Selenium Webdriver?

Hi Lerry, you can disable Infobars displayed ...READ MORE

Jun 4, 2019 in Selenium by Hardeep
5,974 views
0 votes
1 answer

How to save the content on the page (full page) using Selenium WebDriver?

Selenium isn't designed to do this, you ...READ MORE

Jun 28, 2019 in Selenium by Vaishnavi
• 1,180 points
4,896 views
0 votes
1 answer

how can i use a fact from database on selenium

Hey @Geronimo, can you share what code ...READ MORE

Oct 10, 2019 in Selenium by Abha
• 28,140 points
601 views
0 votes
1 answer

What are the limitations of using JUnit?

Hey Sumit, JUnit is a very good ...READ MORE

Jul 4, 2019 in Selenium by Abha
• 28,140 points
4,645 views
0 votes
2 answers

What are the limitations of Selenium?

Hi Moray, limitations of selenium webdriver are ...READ MORE

Jun 10, 2019 in Selenium by Abha
• 28,140 points
8,256 views
0 votes
1 answer

What is Object Repository in Selenium WebDriver?

@Tanmay, Object Repository is used to store ...READ MORE

Jun 4, 2019 in Selenium by Wasim
5,909 views
0 votes
0 answers

Only local connections are allowed error message for chrome driver

package sample; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import ...READ MORE

Apr 29, 2019 in Selenium by Pratikhya
• 120 points
7,498 views
0 votes
1 answer

Anyone please explain various methods used to de-select options of a dropdown in Webdriver

Hey Natasha, following methods are used to ...READ MORE

Jul 15, 2019 in Selenium by Abha
• 28,140 points
4,129 views
0 votes
1 answer

Automate a purchase by adding a book to the cart in flipkart using Selenium

Hello Junaid, this code snippet would help you ...READ MORE

May 22, 2019 in Selenium by Abha
• 28,140 points
6,455 views
0 votes
2 answers

When executing my Jenkins tests with Selenium WebDriver, I do not see a GUI.

Hi eLiJha, I also faced the same issue ...READ MORE

Jul 15, 2019 in Selenium by nayan
• 160 points
13,514 views
0 votes
1 answer

What are Fixtures in Pytest and what is their importance?

Hi Kabir, Fixtures are a powerful tool ...READ MORE

Aug 22, 2019 in Selenium by Abha
• 28,140 points
2,426 views
0 votes
1 answer

How can I run/debug pytest script using eclipse?

Hi Amish, to run/debug pytest scripts in ...READ MORE

Aug 23, 2019 in Selenium by Abha
• 28,140 points
2,380 views
0 votes
1 answer

How to handle checkboxes on a webpage using Ruby Selenium Webdriver?

Hi Sandeep, you can use following code ...READ MORE

Aug 26, 2019 in Selenium by Anvi
• 14,150 points
2,195 views
0 votes
1 answer

Can we select elements by CSS selectors in Python Selenium Webdriver?

Hi Suhana, you can use CSS Selectors ...READ MORE

Jul 29, 2019 in Selenium by Abha
• 28,140 points
3,533 views
0 votes
2 answers

Python: Using an existing google chrome profile with selenium chrome web driver

The problem is with the string "C:\Users\Eric\Desktop\beeline.txt" Here, \U starts an ...READ MORE

May 24, 2019 in Selenium by shinio llahsra
13,225 views
0 votes
1 answer

How to get coordinates of a web element using Python Selenium?

Hey Ushma, you can use following code ...READ MORE

Jul 29, 2019 in Selenium by Abha
• 28,140 points
3,362 views
0 votes
1 answer

How to disable Developer Mode Extension in Selenium?

Hello Rehman, you can disable Developer Mode ...READ MORE

Jun 4, 2019 in Selenium by Anvi
• 14,150 points
5,768 views
0 votes
1 answer

Can anyone show how to modify an existing excel sheet using Apache POI?

Hello Prakash, to modify an existing excel ...READ MORE

Jul 17, 2019 in Selenium by Anvi
• 14,150 points
3,880 views
0 votes
1 answer

In python selenium webdriver is it possible to check whether a checkbox or radio button is enabled or not?

Hey Yuraj, you can use this test ...READ MORE

Aug 1, 2019 in Selenium by Abha
• 28,140 points
3,223 views
0 votes
2 answers

How to use XPath Helper Tool?

How to Install XPath Helper Plugin for ...READ MORE

Apr 28, 2019 in Selenium by Ajay
9,447 views
0 votes
2 answers

Drag and drop in selenium

WebElement dragale = driver.findElement(By.xpath("//*[@id=\"draggable\"]/p")); WebElement dropable = driver.findElement(By.xpath("//*[@id=\"droppable\"]")); Actions ...READ MORE

May 4, 2020 in Selenium by dragAndDrop(WebElement source, WebElemen
1,615 views
0 votes
1 answer

What is Incremental Testing in Pytest?

Hi Ramesh, Pytest provides an Incremental Marker ...READ MORE

Aug 22, 2019 in Selenium by Anvi
• 14,150 points
2,261 views
0 votes
1 answer

Is it possible to use webdriverwait for checking the visiblity of an element in webdriver?

Hello Jagdeep, Yes it is possible to ...READ MORE

Jul 4, 2019 in Selenium by Anvi
• 14,150 points
4,407 views
0 votes
1 answer

How can I travel forward and back in a browser using selenium?

You can use the Navigate interface to ...READ MORE

Dec 31, 2018 in Selenium by Nabarupa
12,337 views
+1 vote
1 answer

Is it possible to write data into an excel file using Selenium Webdriver?

Hi Simran, if you want to directly ...READ MORE

May 8, 2019 in Selenium by Abha
• 28,140 points
6,768 views
0 votes
1 answer

How to scroll to a particular element on a webpage using selenium ruby webdriver?

Hey Disha, following piece of code worked ...READ MORE

Aug 26, 2019 in Selenium by Abha
• 28,140 points
2,114 views
0 votes
1 answer

What is Webdriver Backed Selenium and why it is used?

Hey Shushma, WebDriverBackedSelenium is an implementation of the ...READ MORE

Jul 3, 2019 in Selenium by Abha
• 28,140 points
4,340 views
0 votes
1 answer

How to setup Selenium with Ruby to write automation tests?

Hey Gitanjali, to setup Selenium with Ruby ...READ MORE

Oct 10, 2019 in Selenium by Abha
• 28,140 points
1,072 views
0 votes
1 answer

How to switch the access from the main window to the popup window using Selenium?

Generally, the Modular Windows are part of ...READ MORE

May 28, 2019 in Selenium by Vaishnavi
• 1,180 points
5,911 views
0 votes
1 answer

How can I add Cucumber Jar files in Eclipse to use with Selenium Webdriver?

Hey Eshan, follow these steps to add ...READ MORE

May 23, 2019 in Selenium by Abha
• 28,140 points
6,034 views
0 votes
1 answer

Why we need to use RemoteWebdriver Not the webdriver in Selenium Grid?

Hi Ramya, we use RemoteWebdriver in Selenium ...READ MORE

Jul 5, 2019 in Selenium by Abha
• 28,140 points
4,130 views
0 votes
1 answer

Which method is used to switch to a frame on a webpage using Ruby Selenium Webdriver?

Hi Hemant, you can use driver.switch_to.frame method to switch ...READ MORE

Aug 27, 2019 in Selenium by Abha
• 28,140 points
1,803 views
0 votes
1 answer

What are the different methods (APIs) provided by Selenium Webdriver to take screenshot of a webpage?

Hey Hemant, Selenium Webdriver provides 3 different ...READ MORE

Jul 22, 2019 in Selenium by Abha
• 28,140 points
3,312 views
0 votes
1 answer

How to mouse hover on a web element using Selenium WebDriver?

Hello Nitin, to automate mouse hovering over ...READ MORE

May 7, 2019 in Selenium by Anvi
• 14,150 points
6,590 views
0 votes
1 answer

What are the different Exit Codes while executing a Pytest code?

Hello Esha, while executing a Pytest code, ...READ MORE

Aug 22, 2019 in Selenium by Abha
• 28,140 points
1,961 views
+1 vote
0 answers

Is it possible to pass a fake media stream to Firefox with the help of a command line?

I'm currently developing a Selenium-Java based application and ...READ MORE

Jul 22, 2019 in Selenium by Vaishnavi
• 1,180 points
3,288 views
0 votes
1 answer

How to write regular expression In testng.xml file to search for specific keyword.

Hi Joginder, you can write regular expression ...READ MORE

Jun 19, 2019 in Selenium by Anvi
• 14,150 points
4,721 views
0 votes
1 answer

Does Selenium WebDriver Support Record And Playback Facility?

Hi Gurminder, Selenium Webdriver doesn't support Record ...READ MORE

Jul 3, 2019 in Selenium by Emraan
4,075 views
0 votes
1 answer

Facing error while using Remote webdriver with Selenium Ruby. Please help!

Hi Bhanu, you might be facing this ...READ MORE

Aug 23, 2019 in Selenium by Abha
• 28,140 points
1,844 views