×
Home
Jobs
Tools
Coding Ground
Current Affairs
UPSC Notes
Online Tutors
Whiteboard
Net Meeting
Tutorix
Login
Packages
Categories
Java
JSP
iOS
HTML
Android
Python
C Programming
C++ Programming
C#
PHP
CSS
Javascript
jQuery
SAP
SAP HANA
Data Structure
RDBMS
MySQL
Mathematics
8085 Microprocessor
Operating System
Digital Electronics
Analysis of Algorithms
Mobile Development
Front End
Web Development
Selenium
MongoDB
Computer Network
General Topics
Library
Videos
Q/A
eBooks
Login
Library
Videos
eBooks
Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Selected Reading
UPSC IAS Exams Notes
Developer's Best Practices
Questions and Answers
Effective Resume Writing
HR Interview Questions
Computer Glossary
Who is Who
Debomita Bhattacharjee
has Published
434
Answers
Selenium testing without browser.
Selenium
Automation Testing
Testing Tools
Debomita Bhattacharjee
Published on 28-Dec-2020 18:23:17
We can perform Selenium testing without a browser. This is achieved by triggering the execution in a headless mode. The headless execution can decrease the utilization of key resources and is being adopted widely.For triggering headless execution in Chrome, the ChromeOptions class is utilized to modify the default browser characteristics. Headless is ...
Read More
How do I pass options to the Selenium Chrome driver using Python?
Selenium
Automation Testing
Testing Tools
Debomita Bhattacharjee
Published on 28-Dec-2020 18:21:40
We can pass options to the Selenium Chrome driver using Python. This can be with the help of the ChromeOptions and the DesiredCapabilities class. For the ChromeOptions, we have to create an object for that class.Then we shall take the help of the add_argument method and pass the option we ...
Read More
How to save and load cookies using Python Selenium WebDriver?
Selenium
Automation Testing
Testing Tools
Debomita Bhattacharjee
Published on 28-Dec-2020 18:20:31
We can save and load cookies with Selenium webdriver in Python. A cookie is an information saved by the browser about the application. A cookie is stored in a key value pair.It is generally used to hold the credentials of users. It also stores information about the user actions on ...
Read More
How to send cookies with selenium webdriver?
Selenium
Automation Testing
Testing Tools
Debomita Bhattacharjee
Published on 28-Dec-2020 18:18:57
We can send cookies with Selenium webdriver. A cookie is stored in a key value pair. First, we have to add cookies, then can delete them. We can also get the cookies.Also, we have to add import org.openqa.selenium.Cookie statement for cookie implementations.SyntaxCookie ck = new Cookie("Automation", "QA"); driver.manage().addCookie(ck); driver.manage().getCookies(); driver.manage().deleteAllCookies();ExampleCode ...
Read More
Downloading file to specified location with Selenium and python.
Selenium
Automation Testing
Testing Tools
Debomita Bhattacharjee
Published on 28-Dec-2020 18:16:59
We can download files to a specified location with Selenium in Python. This is done by the help of the ChromeOptions class. We shall set the preferences of the browser and pass the download.default_directory parameter.We need to mention the path of the download directory with that parameter. This preference is sent ...
Read More
How to click Allow on Show Notifications popup using Selenium Webdriver?
Selenium
Automation Testing
Testing Tools
Debomita Bhattacharjee
Published on 28-Dec-2020 18:15:27
We can click Allow on show notification pop-up in Selenium webdriver.These are messages from the website and often called as web push notification.This can be handled with the browser settings.This is done with the help of the ChromeOptions class. We shall create an object of it and apply the addArguments method on ...
Read More
How to use xPath in Selenium WebDriver to grab SVG elements?
Selenium
Automation Testing
Testing Tools
Debomita Bhattacharjee
Published on 28-Dec-2020 18:01:10
We can use xpath to grab SVG elements with Selenium webdriver. A SVG element is identified with tagname svg. The svg image has the attributes like width and height attributes.Let us investigate the html code of a svg element.To create a xpath for a svg element, we have the syntax ...
Read More
How to run selenium (Firefox) web driver without a GUI?
Selenium
Automation Testing
Testing Tools
Debomita Bhattacharjee
Published on 28-Dec-2020 17:58:47
We can run Selenium (Firefox) webdriver without a GUI. This means that the execution has to be kicked in headless mode. The headless execution is popular now since it results in less consumption of resources.Firefox, without GUI, can be executed after we set the geckodriver path. We shall take the help of ...
Read More
How to make firefox headless programmatically in Selenium with python?
Selenium
Automation Testing
Testing Tools
Debomita Bhattacharjee
Published on 28-Dec-2020 17:56:38
We can make firefox headless programmatically in Selenium. This can be done with the help of the FirefoxOptions class. We shall then create an object option for that class.We shall set the parameter options.headless to True value. This information of the browser has to be passed to the driver object. We have ...
Read More
How can I control Chromedriver open window size?
Selenium
Automation Testing
Testing Tools
Debomita Bhattacharjee
Published on 28-Dec-2020 17:54:50
We can control the chromedriver to open with a window size in Selenium. This is done with the help of ChromeOptions class. We have to create an object of that and apply addArguments method on it.Then pass window-size=x, y as a parameter to the method. The x and y are the dimensions ...
Read More
1
2
3
4
5
6
7
...
44
Next
Advertisements
Print
Add Notes
Bookmark this page
Report Error
Suggestions
Save
Close
Dashboard
Logout