Trending questions in Selenium

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,597 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,671 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,817 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,272 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,261 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,181 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,073 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,699 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,849 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,307 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
555 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,059 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,794 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,552 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,419 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,823 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,856 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,396 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,121 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,331 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,142 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,974 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,311 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,375 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,458 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,310 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,129 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,831 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,183 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,370 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,737 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,644 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,185 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,070 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,520 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,326 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,246 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,045 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,863 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,220 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,978 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,772 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,048 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,247 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,928 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,518 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,653 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,206 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,810 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,027 views