Debomita Bhattacharjee has Published 863 Articles

How to Select date from a datepicker with Selenium Webdriver using Python?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 08-Apr-2021 07:40:10

10K+ Views

We can select a date from a datepicker with Selenium webdriver using Python. To identify a particular date, first we have to use the find_elements method and identify all the dates having a common locator value.The find_elements returns a list of matching elements. We have to iterate through this list ... Read More

How to automate Calendar using Selenium WebDriver for Testing?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 08-Apr-2021 07:38:25

3K+ Views

We can automate a calendar using Selenium webdriver. It may be a bit difficult to automate tests on a calendar since the selection of day, month, and year can be different in web UI from one calendar to another.A calendar can be in the form of a dropdown selection or ... Read More

What is the command used to register gecko driver in Selenium?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 08-Apr-2021 07:36:49

371 Views

We can register a gecko driver with Selenium webdriver. For the Firefox versions greater than 47, we can execute tests in Firefox with the geckodriver.exe file. To download this executable file, visit the below link − https://github.com/mozilla/geckodriver/releasesNext, we have to choose the link of the zip file which is compatible ... Read More

How can Selenium select each div separately that have the same class?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 08-Apr-2021 07:35:37

5K+ Views

We can select each div separately that have the same class with the help of the Selenium webdriver. Often in the html code, we find more than one div element having a class attribute with the same value.Let us see the html code of elements with div tag having the ... Read More

Is there any way to load an extension in chrome browser using Selenium Webdriver?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 08-Apr-2021 07:31:48

886 Views

We can load an extension in Chrome browser using Selenium webdriver.While we are using the Chrome browser in our local system, we can add multiple extensions to it.However, while Chrome browser is launched by Selenium webdriver, those extensions which are available to our local browser may not be present. We ... Read More

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

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 08-Apr-2021 07:29:37

393 Views

The benefits of using Selenium as an automation testing tool are listed below −It is open-source and comes free without licensing cost.It can used be used with more than one programming languages like C#, Java, Python, JavaScript, and so on.It can be used in more than one platforms like Windows, ... Read More

How to select the text of a span on click in Selenium?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 08-Apr-2021 07:28:57

20K+ Views

We can select the text of a span on click with Selenium webdriver. To identify the element with span tag, we have to first identify it with any of the locators like xpath, css, class name or tagname.After identification of the element, we can perform the click operation on it ... Read More

Python + Selenium | How to locate elements in span class & not unique ID

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 08-Apr-2021 07:28:32

5K+ Views

We can locate elements in span class and not unique id with the help of the Selenium webdriver. We can identify an element having a class attribute with the help of the locator xpath, css or class name.To locate elements with these locators we have to use the By.xpath, By.xpath ... Read More

How to handle "Plugin blocked" pop up using Selenium Python?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 08-Apr-2021 07:27:59

3K+ Views

We can handle plugin popup using Selenium webdriver in Python. Whenever a popup comes on page, we cannot inspect elements within the popup and identify them.Also, in order to access other elements on the page, we have to first either accept default has access to the main page. To interact ... Read More

Find div element by multiple class names in Selenium?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 07-Apr-2021 09:28:49

10K+ Views

We can find elements by multiple class names. If there is an element having more than one value separated by spaces set for the class attributes, it is called the compound class names.Let us see the HTML code of such web elements having compound class names −We shall get an ... Read More

Advertisements