Trending questions in Selenium

0 votes
1 answer

How to send a report through email using Selenium Webdriver?

Hey Yashmika, to send a report through ...READ MORE

Jul 17, 2019 in Selenium by Anvi
• 14,150 points
10,298 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,150 points
9,814 views
0 votes
2 answers

How to know the exact time to load a page using Selenium WebDriver?

long start = System.currentTimeMillis(); driver.get("Some url"); long finish = ...READ MORE

Sep 6, 2020 in Selenium by Sri
• 3,190 points
8,203 views
+1 vote
2 answers

Getting captcha for gmail login using selenium webdriver

I tried using Tesseract OCR (Optical Character ...READ MORE

Apr 11, 2020 in Selenium by Rajesh
3,679 views
0 votes
2 answers

What is the best reporting tool that can be used with selenium?

I guess you can use the below ...READ MORE

Dec 20, 2018 in Selenium by Shuvodip
5,606 views
+1 vote
1 answer

Handling popup using selenium

If you are asking about authentication handling ...READ MORE

Mar 13, 2020 in Selenium by Sirajul
• 59,230 points
993 views
0 votes
1 answer

How @FindBy annotation of Page Factory can be used in Selenium?

Hey Mridul, Page Factory uses annotation @FindBy to ...READ MORE

Jul 4, 2019 in Selenium by Anvi
• 14,150 points
10,464 views
+3 votes
1 answer

How to automate menu box / pop up of right click in python selenium.

You can use keys to do this. ...READ MORE

Aug 9, 2019 in Selenium by Shubham
8,753 views
0 votes
1 answer

Is there any way to get size (height and width) of a textbox using Selenium?

@Nick, you can use following lines of ...READ MORE

May 30, 2019 in Selenium by Raunak
11,937 views
0 votes
2 answers

How to test React JS dropdown with Selenium and java?

First of all you need to click ...READ MORE

Aug 20, 2019 in Selenium by ghoshPooja
• 140 points
18,288 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,150 points
12,749 views
0 votes
2 answers

How to use relative xpath for locating a web-element by particular Attribute?

Xpath=//tagname[@attribute='value'] READ MORE

Sep 3, 2020 in Selenium by Sri
• 3,190 points
5,192 views
0 votes
1 answer

How to send keyboard input to a textbox on a webpage using python selenium webdriver?

Hey Dominic, you can use sendKeys() method ...READ MORE

Jul 31, 2019 in Selenium by Abha
• 28,140 points
9,123 views
0 votes
2 answers

What are the benefits of using Selenium as an Automation Testing tool?

There is no rule we have to ...READ MORE

Aug 26, 2020 in Selenium by Sri
• 3,190 points
2,246 views
–1 vote
1 answer

Difference between sleep() and setSpeed() in selenium

Both sleep() and setSpeed() are used to ...READ MORE

Feb 13, 2019 in Selenium by Priyaj
• 58,020 points
16,168 views
0 votes
2 answers

What are the wait methods which can be used to handle AJAX calls?

Hi , for Ajax call better to use Explicit ...READ MORE

Sep 3, 2020 in Selenium by Sri
• 3,190 points
1,765 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 10, 2019 in Selenium by Vaishali Walia
9,537 views
0 votes
1 answer

How to send ALT/SHIFT/CONTROL key in Selenium WebDriver?

When we generally use ALT/SHIFT/CONTROL keys, we ...READ MORE

Feb 8, 2019 in Selenium by Frankie
• 9,830 points
16,043 views
0 votes
1 answer

How can I send some data to a Prompt Alert box using Selenium Webdriver?

Hey Abhishek, you can use sendKeys() method ...READ MORE

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

What is the actual conflict while performing click() on web element, and getting an error like element is not clickable at point(x,y)?

Hey @sastry, the error Element is not clickable ...READ MORE

Nov 27, 2019 in Selenium by Sirajul
• 59,230 points
3,719 views
+1 vote
2 answers

I want the screenshot of only a specific element and not the entire page. Is it possible with Selenium Webdriver?

Hey @kappa3010, you can try this. Though ...READ MORE

Dec 31, 2018 in Selenium by Priyaj
• 58,020 points
22,803 views
0 votes
1 answer

Using gettext() method for the specific element using Selenium WebDriver

Mistake is that u r printing the ...READ MORE

Apr 10, 2018 in Selenium by Vardy
• 2,360 points
28,904 views
0 votes
3 answers

java.lang.IllegalStateException Error after adding set property webdriver

/* System.setProperty("WebDriver.gecko.driver", "C:\\Users\\DELL\\Desktop\\GeckoDriver1\\geckodriver.exe"); WebDriver driver = new FirefoxDriver(); */ ...READ MORE

May 1, 2019 in Selenium by anonymous
20,253 views
0 votes
1 answer

I am getting error: Element should have been “select” but was “input” using Selenium Webdriver Java

You can Select element by the following ...READ MORE

Jun 27, 2018 in Selenium by Samarpit
• 5,910 points
25,476 views
+1 vote
0 answers

screenshot of a particular element with python selenium in linux [closed]

Taking partial screenshot of a element by ...READ MORE

Jan 21, 2020 in Selenium by anonymous
• 200 points

closed Jan 21, 2020 by Kalgi 691 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,479 views
+2 votes
1 answer

Selenium with C Sharp -- How to perform Explicit Wait method

The explicit wait is used to tell ...READ MORE

Dec 23, 2019 in Selenium by Sirajul
• 59,230 points
1,599 views
+1 vote
0 answers

whats wrong in my code? attached below

package com.sv.selenium; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class SwitchTabs ...READ MORE

Jan 9, 2020 in Selenium by anonymous
• 130 points
914 views
+1 vote
1 answer

How to perform right click on an element and open it a new window using Web Driver?

Hey Karthik, you can perform right click ...READ MORE

Jul 7, 2019 in Selenium by Hansraj
8,950 views
0 votes
1 answer

How can I install and setup Pytest framework?

Hey Yashmin, follow these steps to install ...READ MORE

Aug 22, 2019 in Selenium by Anvi
• 14,150 points
6,957 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
8,080 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
• 28,140 points
8,445 views
+1 vote
2 answers

How to click button selenium python?

Have you tried using implicit_wait method before getting ...READ MORE

May 27, 2019 in Selenium by Abha
• 28,140 points
10,558 views
0 votes
1 answer

What is the use of invocationcount in TestNG?

Hey Owen, The invocationcount attribute tells how many ...READ MORE

Jun 19, 2019 in Selenium by anonymous
• 28,140 points
9,594 views
0 votes
1 answer

How to switch different browser tabs using Python Selenium?

Hello Rohan, you can use the following ...READ MORE

Jul 29, 2019 in Selenium by Abha
• 28,140 points

edited Apr 18, 2022 by Sarfaraz 7,800 views
0 votes
2 answers

How can I automate the process of adding a product to cart in Flipkart?

Hey @Jino, it was pretty good brain ...READ MORE

Dec 21, 2018 in Selenium by Nabarupa
14,023 views
0 votes
1 answer

What is the use of getOptions() method in Selenium?

Hi Urmila, getOptions() is used to get all ...READ MORE

May 31, 2019 in Selenium by Abha
• 28,140 points
10,314 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
7,649 views
0 votes
1 answer

Is it possible to handle Windows based pop-ups in Selenium?

Hello Rustam, Selenium doesn’t support windows based ...READ MORE

Jun 4, 2019 in Selenium by Priti
10,071 views
+1 vote
0 answers

How to read a table using VB.net and selenium

Hello, I can see the table yet ...READ MORE

Dec 6, 2019 in Selenium by Matt
• 130 points
2,037 views
+4 votes
1 answer

which headless browser automation is good?

To answer your Queries: 1. HTML Unit -  taking ...READ MORE

Nov 29, 2019 in Selenium by Karan
• 19,610 points

edited Nov 29, 2019 by Sirajul 2,171 views
0 votes
2 answers

How to handle chrome notification in selenium?

Map<String, Object> prefs = new HashMap<String, Object>(); prefs.put("profile.default_content_setting_values.notifications", ...READ MORE

May 4, 2020 in Selenium by Mukti
• 140 points
5,988 views
0 votes
1 answer

How to install firebug in chrome?

FIrebug was a chrome extension that was ...READ MORE

Dec 21, 2018 in Selenium by Shuvodip
17,010 views
0 votes
1 answer

Getting error while running a XML file in TestNG

Hello @Sradha, The synatx of using test is ...READ MORE

Dec 26, 2018 in Selenium by Rashmi
16,755 views
0 votes
1 answer

What is the difference between WebDriver and RemoteWebdriver in Selenium?

Hey Ishan, the difference between Webdriver and ...READ MORE

May 10, 2019 in Selenium by Pratibha
• 3,690 points
10,739 views
+2 votes
0 answers

not able to get child element using parsed element in js function

I wrote below javascript code to fetch ...READ MORE

Dec 21, 2019 in Selenium by navikasingh
• 140 points
995 views
0 votes
2 answers

Unable to Click on an Element in Selenium (Python) even after finding it.

Here, I give you working script which ...READ MORE

Sep 19, 2018 in Selenium by Priyaj
• 58,020 points
24,480 views
0 votes
0 answers

xpath search working on browser[firefox/Chrome] but not on Selenium python script.

Hi Team, I am getting below expception while ...READ MORE

Nov 14, 2019 in Selenium by ashutosh
• 120 points
2,478 views
0 votes
1 answer

How can I fetch value/text from a textbox by using Python Selenium Webdriver?

Hey Jagat, following test script shows how ...READ MORE

Jul 31, 2019 in Selenium by Abha
• 28,140 points
6,996 views