Trending questions in Selenium

0 votes
1 answer

How to Click a Link by href value in Selenium WebDriver?

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

Aug 14, 2019 in Selenium by Abha
• 27,930 points
1,817 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
19,901 views
0 votes
2 answers

Stuck in this issue please help me out

NoClassDefFoundError exception : Mismatch of classpath in ...READ MORE

Sep 6, 2019 in Selenium by varun
• 140 points
791 views
+2 votes
2 answers

How can I press ENTER key with the execute_script in selenium python?

The below code containing Keys.ENTER might just ...READ MORE

Mar 27, 2018 in Selenium by nsv999
• 5,510 points
15,532 views
0 votes
1 answer

How to type text in a new line inside a text area using Selenium Webdriver?

Hey Unnati, '\n' is usually used to type text ...READ MORE

Jun 25, 2019 in Selenium by Abha
• 27,930 points
3,882 views
0 votes
1 answer

How to create a Base Class in Selenium and use it with test scripts?

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

Jul 18, 2019 in Selenium by Anvi
• 14,090 points
2,838 views
0 votes
0 answers
0 votes
1 answer

How can I capture full webpage screenshot using Selenium Webdriver?

Hey Harbhajan, you can use Ashot() to ...READ MORE

Jul 29, 2019 in Selenium by Anvi
• 14,090 points
2,326 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
• 27,930 points
105 views
0 votes
0 answers
0 votes
1 answer

How to open a new browser tab using Ruby Selenium Webdriver?

Hi Utkarsh, you can use JS Executor ...READ MORE

Aug 26, 2019 in Selenium by Abha
• 27,930 points
986 views
0 votes
1 answer

Getting runtime.cucumberexception for error parsing feature file

First check if there is any extra ...READ MORE

May 17, 2019 in Selenium by Frankie
• 9,810 points
5,354 views
0 votes
1 answer

What is the super interface of webdriver in Selenium Webdriver?

Hi Dushyant, SearchContext is the super interface of ...READ MORE

Jun 24, 2019 in Selenium by Abha
• 27,930 points
3,694 views
0 votes
1 answer

How to type text into a text field using Ruby Selenium Webdriver?

Hi Lily, to type text into a ...READ MORE

Aug 26, 2019 in Selenium by Abha
• 27,930 points
968 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 3 in Selenium by dragAndDrop(WebElement source, WebElemen
435 views
0 votes
1 answer

How to stop test execution in Selenium if an error occured?

Hey Fatima, if you are using any ...READ MORE

Jul 4, 2019 in Selenium by Abha
• 27,930 points
3,215 views
0 votes
1 answer

How can we read Numeric and String and date format in Excelsheet by using single program

Hey, I have gone through your code. ...READ MORE

Sep 6, 2019 in Selenium by Abha
• 27,930 points
406 views
0 votes
1 answer

What are the advantages of Pytest framework over other test frameworks?

Hello Shanky, Pytest is one of the ...READ MORE

Aug 22, 2019 in Selenium by Abha
• 27,930 points
1,027 views
0 votes
1 answer

How can I select an option from a dropdown using Ruby Selenium Webdriver?

Hey Swasti, you can try following lines ...READ MORE

Aug 26, 2019 in Selenium by Anvi
• 14,090 points
810 views
0 votes
1 answer

Can we perform zoom-in or zoom-out actions in a webpage using Python Selenium?

Hello Ruhi, to perform Zoom-in or Zoom-out ...READ MORE

Jul 29, 2019 in Selenium by Anvi
• 14,090 points
2,147 views
0 votes
1 answer

How to perform scroll operations on a webpage using Python-Selenium Webdriver?

Hey Juhi, look at the below code ...READ MORE

Jul 29, 2019 in Selenium by Anvi
• 14,090 points
2,130 views
0 votes
1 answer

How can I read numeric data from an Excel sheet using Selenium Webdriver?

Hey Jignesh, for reading numeric data from ...READ MORE

Jul 17, 2019 in Selenium by Abha
• 27,930 points
2,408 views
0 votes
2 answers

What is cross browser testing?

Cross browser compatibility is the ability of ...READ MORE

Mar 25, 2019 in Selenium by Frankie
• 9,810 points
98 views
+1 vote
1 answer

How to access emails in gmail and opening the latest one from unread mails using Selenium Webdriver?

Hey Pratyush, to access emails from your ...READ MORE

May 21, 2019 in Selenium by Abha
• 27,930 points
4,756 views
0 votes
2 answers

Comment in Selenium IDE

hi, I hope this will help you - ...READ MORE

Feb 21 in Selenium by surbhi
• 260 points
971 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
860 views
0 votes
1 answer

how to click on a ref link on Selenium C3

To click on a href link using ...READ MORE

Sep 5, 2019 in Selenium by Abha
• 27,930 points
89 views
0 votes
1 answer

How to install TestNG in eclipse?

Its very simple @user,  Simply open your eclipse ...READ MORE

Dec 26, 2018 in Selenium by Nabarupa
11,039 views
0 votes
1 answer

How can I pause a text execution in python selenium webdriver?

Hello Ankur, you can use sleep() method ...READ MORE

Jul 31, 2019 in Selenium by Renuka
1,614 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
• 27,930 points
550 views
0 votes
1 answer

Is it possible to create a Pytest Fixture which can be shared with other tests?

Hi Prashashti, to create a fixture that ...READ MORE

Aug 23, 2019 in Selenium by Abha
• 27,930 points
623 views
0 votes
1 answer

How to verify page title in Selenium?

Hey Janvi, you can verify a page's ...READ MORE

Jul 4, 2019 in Selenium by Lavanya
2,742 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 26, 2019 in Selenium by Abha
• 27,930 points
399 views
0 votes
1 answer

How to get the TagName of a particular WebElement using Selenium Webdriver?

Hey Paula, to get the tagname of ...READ MORE

Jul 3, 2019 in Selenium by Abha
• 27,930 points
2,713 views
0 votes
1 answer

What are the software requirements to run a Cucumber web test?

Hi Govind, to run a Cucumber Web ...READ MORE

Aug 26, 2019 in Selenium by Abha
• 27,930 points
452 views
0 votes
1 answer

How to launch Chrome browser using Selenium Webdriver on MAC?

Hey Lucas, you can launch chrome browser ...READ MORE

Jul 18, 2019 in Selenium by Abha
• 27,930 points
2,047 views
0 votes
1 answer

How to click on Image in Selenium Webdriver?

Hello Lalit, I guess you mean to ...READ MORE

May 9, 2019 in Selenium by Anvi
• 14,090 points
5,073 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
• 27,930 points
426 views
0 votes
1 answer

How to apply wait for new window using Selenium WebDriver?

As sometimes during web automation, when you ...READ MORE

Jul 9, 2019 in Selenium by Vaishali Walia
2,448 views
0 votes
1 answer

How can we use Explicit wait with Python Selenium Webdriver?

Hi Aryan, Explicit wait is used with ...READ MORE

Jul 29, 2019 in Selenium by Abha
• 27,930 points
1,685 views
0 votes
0 answers

Initialize WebElement for dynamic XPath

XPATH's are defined by the end user. I just ...READ MORE

Aug 19, 2019 in Selenium by anonymous
663 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
• 27,930 points
471 views
0 votes
1 answer

What is a Session Id in Selenium Webdriver?

Hey Uruj, in Selenium Webdriver Session ID ...READ MORE

Aug 21, 2019 in Selenium by Abha
• 27,930 points
554 views
0 votes
1 answer

Please help me with automation script for testing Carousel Rotation with Selenium Webdriver.

Hey Hussain, you can use following lines ...READ MORE

Aug 14, 2019 in Selenium by Abha
• 27,930 points
836 views
+1 vote
1 answer

How can we get the font size, font color, font type used for a particular text on a web page using Selenium web driver?

Hi Deepti, you can use getcssvalue() method to ...READ MORE

Jul 2, 2019 in Selenium by Abha
• 27,930 points
2,629 views
0 votes
1 answer

How can I automate google search for a keyword using ruby selenium webdriver?

Hi Amir, following code snippet shows how ...READ MORE

Aug 26, 2019 in Selenium by Anvi
• 14,090 points
295 views
0 votes
1 answer

What is the use of Pytest with Selenium Webdriver?

Hi Abhinav, Pytest is a testing framework ...READ MORE

Aug 22, 2019 in Selenium by Anvi
• 14,090 points
468 views
0 votes
1 answer

What is difference between Assert and Verify in Selenium?

Hello, talking about the definition.  Assert: If the assert condition ...READ MORE

Dec 31, 2018 in Selenium by Prasad
10,554 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,090 points
259 views
0 votes
1 answer

How can I handle a Confirmation Alert pop-up using Python Webdriver?

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

May 27, 2019 in Selenium by George
4,167 views