Trending questions in Selenium

0 votes
1 answer

How to check all checkboxes on a webpage using Selenium?

Hey Jenny, to check all the checkboxes ...READ MORE

Jun 26, 2019 in Selenium by Suraj
5,211 views
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,676 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,819 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,273 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,265 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,184 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,076 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,701 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,856 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,309 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
558 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,061 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,558 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,797 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,830 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,421 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,860 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,398 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,127 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,333 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,146 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
3,983 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,316 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,382 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,461 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,317 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,136 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,833 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,185 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,371 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,741 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,647 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,190 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,074 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,524 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,331 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,251 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,047 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,865 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,227 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
5,980 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,054 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,774 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,254 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,930 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,525 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,655 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,207 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,812 views
0 votes
1 answer

How to retrieve web element which has dynamically changing Id like login label's id in Facebook changes dynamically?

Hi @Anshul, if you have dynamically changing ...READ MORE

Jul 2, 2019 in Selenium by Rajan
4,028 views