Debomita Bhattacharjee has Published 863 Articles

How to Stop the page loading in firefox programmatically in Selenium ?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 02-Feb-2021 12:41:38

445 Views

We can stop the page loading in Firefox programmatically. This can be done by first setting page load time with the help of the pageLoadTimeout method.The time to wait for the page load is passed as a parameter to that method.Syntaxdriver.manage().timeouts().pageLoadTimeout(10, TimeUnit.MILLISECONDS);The page is forced to stop from loading with ... Read More

What is meant by Selenium RC?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 02-Feb-2021 12:31:58

2K+ Views

Selenium RC is a key part in Selenium. It is a framework for testing that allows testers and developers to design test scripts in multiple languages to automate frontend UI test cases. It has a client library and a server that starts and quits the browser sessions by defaultServer injects ... Read More

Can Google Chrome be supported by Selenium IDE?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 02-Feb-2021 12:31:11

416 Views

Initially Selenium IDE was used as a Firefox plugin. But the latest Selenium IDE version supports both Chrome and Firefox. For installation in Chrome, navigate to the below link −ttps://chrome.google.com/webstore/detail/seleniumide/mooikfkahbdckldjjndioackbalphokdThen click on Add to Chrome.Click on Add extension.Once installed, we shall get the below message as shown in the image ... Read More

How to create nested test suites for Selenium IDE?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 02-Feb-2021 12:26:38

397 Views

We can create nested test suites for Selenium IDE. A group of tests constitutes a test suite. First, to create a test suite we have to follow the below steps as listed below −Step1: Launch Selenium IDE. Then click on Create a new project link.Step2 − Provide the PROJECT NAME. ... Read More

How to give manual input from user while running Selenium IDE script?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 02-Feb-2021 12:26:19

2K+ Views

We can give manual input from the user while running Selenium IDE script. This can be done with the help of the Command, Target and Value steps given below −Step 1Command −execute scriptTarget −return prompt("Subject", "");Value −InputStep 2Command −echoTarget −${Input}Click on Run current test as highlighted in the below image.OutputA ... Read More

How do I use Selenium IDE?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 02-Feb-2021 12:25:55

365 Views

We can use and install Selenium IDE by following a few steps one by one. It is for integrated development of Selenium scripts. It is primarily used as an extension of Firefox.Some facts about Selenium IDE are listed below −Requires no technical knowledge of the testers.Record and playback feature available.Has ... Read More

Handle Firefox Not Responding While Using Selenium WebDriver With Python?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 02-Feb-2021 12:25:36

677 Views

We can handle the situation in which the Firefox is not responding with the help of the Selenium webdriver in Python. This can be achieved with the help of the FirefoxProfile class.We shall create an object of this class and apply the set_preference method on it. Then pass these preferences ... Read More

Save a Web Page with Python Selenium

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 02-Feb-2021 12:19:00

13K+ Views

We can save a webpage with Selenium webdriver in Python. To save a page we shall first obtain the page source behind the webpage with the help of the page_source method.We shall open a file with a particular encoding with the codecs.open method. The file has to be opened in ... Read More

Can Selenium use multi threading in one browser?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 02-Feb-2021 12:18:44

4K+ Views

Selenium can use multi−threading in one browser with the help of TestNG framework. TestNG provides the feature of parallel execution which works on the concept of Java multi−threading.To execute tests based on various parameters, the TestNG has an XML file where we have the configurations. The attributes parallel and thread−count ... Read More

Download image with Selenium Python

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 02-Feb-2021 12:13:19

12K+ Views

We can download images with Selenium webdriver in Python. First of all, we shall identify the image that we want to download with the help of the locators like id, class, xpath, and so on.We shall use the open method for opening the file in write and binary mode (is ... Read More

Advertisements