Trending questions in Selenium

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,564 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,461 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,651 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
8,903 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
4,914 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,080 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
17,755 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,597 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
15,824 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,537 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,522 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,156 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 608 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,717 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
15,402 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
19,965 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,249 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,467 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
769 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,410 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
7,874 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,448 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
24,857 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,142 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,682 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,190 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,131 views
0 votes
3 answers

Clicking on an element in robot framework is not working in IE, but its working fine in Chrome & Firefox

public class SiblingAndParentInXpath { ...READ MORE

Apr 24, 2020 in Selenium by Blazzzinglight
12,166 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,500 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
13,787 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,023 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
9,882 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,450 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
1,809 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,300 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,795 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,595 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
16,638 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
851 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,347 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,324 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,138 views
0 votes
1 answer

How to find size of an element in a webpage with Python Selenium Webdriver?

Hey Fawad, you can use this piece ...READ MORE

Jul 29, 2019 in Selenium by Anvi
• 14,150 points
6,881 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 28, 2019 in Selenium by George
9,450 views
0 votes
1 answer

How can I locate inline elements from a web page using Selenium Webdriver?

Which specific element you are trying to ...READ MORE

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

How can I use Selenium in the background?

Hey there! I would suggest you try using ...READ MORE

Jul 22, 2019 in Selenium by anonymous
7,123 views
0 votes
1 answer

How can I automate Menu links of a website and validate page titles? Please help.

You could probably try following these steps ...READ MORE

Nov 29, 2019 in Selenium by Sirajul
• 59,230 points
3,560 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,598 views
0 votes
2 answers

Handling Combo-Box Drop downs in Selenium

Suggestion: Try to mimic the action with ...READ MORE

May 28, 2019 in Selenium by mary
12,126 views