Debomita Bhattacharjee has Published 863 Articles

How to open a browser window in full screen using Selenium WebDriver with C#?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 07-Apr-2021 08:13:21

2K+ Views

We can open a browser window in full screen using Selenium webdriver in C# by using the method Maximize. This method has to be applied on the webdriver object.Syntaxdriver.Manage().Window.Maximize();Exampleusing NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using System; namespace NUnitTestProject1{    public class Tests{       String url = "https://www.google.com/";   ... Read More

Select item from sub-menu of a menu using mouse over action in Selenium

Debomita Bhattacharjee

Debomita Bhattacharjee

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

7K+ Views

We can select an item from the sub-menu of a menu using mouse over action in Selenium webdriver with the help of the Actions class. We shall create an object of the Actions class and then apply moveToElement to it.This method shall move the mouse to the middle of the ... Read More

Alternative of click() in Selenium

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 06-Apr-2021 11:58:14

6K+ Views

There are several alternatives to the usage of click method in Selenium webdriver. We can use the JavaScript Executor to perform a click action. Selenium can execute JavaScript commands with the help of the executeScript method.The parameters – arguments[0].click() and locator of the element on which the click is to ... Read More

Google Search Automation with Python Selenium

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 06-Apr-2021 11:57:39

7K+ Views

We can perform Google search automation with Selenium webdriver in Python. First of all, we shall locate the Google search box with the help of any of the locators like id, css, xpath, class, or name.Then simulate the action of pressing the ENTER key with the help of Keys.ENTER/Keys.RETURN. To ... Read More

What is following-sibling in Selenium?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 06-Apr-2021 11:57:08

25K+ Views

We can use the concept of following-sibling in xpath for identifying elements in Selenium. It identifies the siblings of the context node. The siblings should be located at the equal level of the existing node and should have the same parent.Let us see an example of an element with ul ... Read More

How does Selenium Webdriver handle SSL certificate in Firefox?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 06-Apr-2021 11:56:33

1K+ Views

We can handle SSL certificate in Firefox with the help of the Selenium webdriver by using the FirefoxProfile class. Then setting the parametersetAcceptUntrustedCertificates to true. A SSL is a protocol followed to create a secure connection between the client (browser) and the server.SSL checks the authenticity of a website and ... Read More

How to handle SSL certificate error using Selenium WebDriver?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 06-Apr-2021 11:56:05

1K+ Views

We can handle SSL certificate error using Selenium webdriver while we try to launch a web page based on HTTP. SSL certificate errors are encountered in multiple browsers like Chrome, Safari, and Firefox and so on.SSL certificate error comes up if the site we are making an attempt to access ... Read More

Is it possible to scroll down in a webpage using Selenium Webdriver programmed on Python?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 06-Apr-2021 11:49:19

3K+ Views

Yes it is possible to scroll down in a webpage using Selenium webdriver in Python by using the JavaScript Executor. Selenium can execute JavaScript commands with the help of execute_script method.The JavaScript command to be used is passed as a parameter to this method. Also, it must be noted that ... Read More

How to automate menu box/pop up of right click in Python Selenium?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 06-Apr-2021 11:48:55

916 Views

We can automate right click action with Selenium webdriver in Python by using the ActionChains class. We have to create an object of the ActionChains class and then apply the relevant method on it.In order to move the mouse to the element on which right click is to be performed, ... Read More

How can I perform mouse hover action in Selenium-Python?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 06-Apr-2021 11:46:17

17K+ Views

We can perform mouseover action in Selenium webdriver in Python by using the ActionChains class. We have to create an object of this class and then apply suitable methods on it.In order to move the mouse to an element, we shall use the move_to_element method and pass the element locator ... Read More

Advertisements