Category Archives: Selenium JavaScript

Selenium JavaScriptAutomationTutorial

Download Files Using JavaScript and Selenium: A Step By Step Guide

Downloading files is one of the most popular features utilized by Internet users worldwide. Almost all web applications provide a feature that allows users to download a file from the web page.

July 7, 2022

view count263193 Views

Read time10 Min Read

Drag And Drop In JavaScript Using Selenium

Selenium JavaScriptAutomationTutorial

How To Implement Drag And Drop In JavaScript Using Selenium?

Drag and Drop is an adored web feature implemented in many modern web applications. The list is endless, from cloud storage services like Google Drive and Dropbox to project management tools like Jira and Trello.

March 22, 2022

view count81046 Views

Read time14 Min Read

webdriverio html reporter

Selenium JavaScriptTutorial

How To Generate HTML Reports With WebdriverIO?

Reporting is an inevitable factor in any test automation framework. A well-designed and developed framework should not just let you write the test cases and execute them, but it should also let you generate the report automatically.

February 1, 2022

view count60221 Views

Read time15 Min Read

angular-testing-with-jasmine-and-karma

AutomationSelenium JavaScriptTutorial

Angular Testing With Jasmine And Karma Using Selenium [Tutorial]

In this Angular testing tutorial, we discuss in-depth the benefits of Unit testing and how to perform Angular testing with Jasmine and Karma using Selenium.  Angular unit testing best practices include isolating tests, using test doubles for dependencies, following the Arrange-Act-Assert pattern, covering all code paths, and utilizing mock data for predictability. With the assumption … Continue reading Angular Testing With Jasmine And Karma Using Selenium [Tutorial]

January 11, 2022

view count267224 Views

Read time21 Min Read

Selectors In Selenium WebdriverIO

AutomationSelenium JavaScriptTutorial

How To Use Deep Selectors In Selenium WebdriverIO

WebdriverIO is a popular open-source automation framework for web, mobile, and desktop applications powered by the Webdriver protocol. Deep Selectors in Selenium WebdriverIO play a crucial role in precisely identifying complex UI elements, making them essential for creating reliable and maintainable automated tests. Overview What are Deep Selectors in WebdriverIO? Deep selectors in WebdriverIO allow … Continue reading How To Use Deep Selectors In Selenium WebdriverIO

October 18, 2021

view count136486 Views

Read time16 Min Read

Jest Mocha

Selenium JavaScriptTutorial

Jest vs Mocha vs Jasmine: Comparing The Top 3 JavaScript Testing Frameworks

JavaScript testing is essential for ensuring code reliability and performance. Frameworks like Jest, Mocha, and Jasmine are primarily used for unit testing, helping developers verify that individual functions and components work as expected. Each framework brings its own strengths. Jest offers an all-in-one setup, Mocha provides flexibility with plugins, and Jasmine follows a behavior-driven approach. … Continue reading Jest vs Mocha vs Jasmine: Comparing The Top 3 JavaScript Testing Frameworks

October 6, 2021

view count61265 Views

Read time20 Min Read

page object pattern javascript

Selenium JavaScriptAutomationTutorial

Using Page Object Model (POM) Pattern In Selenium JavaScript

This article is a part of our Content Hub. For more in-depth resources, check out our content hub on Selenium JavaScript Tutorial. Design patterns in test automation provide a way to handle commonly occurring problems and structure your test code in a relatively standardized way.

September 21, 2021

view count126518 Views

Read time14 Min Read

frames and iframe in selenium javascript

AutomationSelenium JavaScriptTutorial

How To Handle Frames & iFrames In Selenium JavaScript [Tutorial]

This article is a part of our Content Hub. For more in-depth resources, check out our content hub on Selenium JavaScript Tutorial. While performing Selenium test automation, you’ll frequently run into situations where you need to handle frames or iframes.

September 2, 2021

view count158614 Views

Read time11 Min Read

JavaScript Wait Function

AutomationSelenium JavaScriptTutorial

Wait Function In Selenium WebDriver Using JavaScript

This article is a part of our Content Hub. For more in-depth resources, check out our content hub on Selenium JavaScript Tutorial. There are many options when it comes to putting your program to sleep (or insert delays in the program). When performing Selenium, the Sleep function will cause the execution of your code to … Continue reading Wait Function In Selenium WebDriver Using JavaScript

August 31, 2021

view count192349 Views

Read time17 Min Read

AutomationSelenium JavaScriptTutorial

How To Get Data Of Attributes In JavaScript With Selenium

This article is a part of our Content Hub. For more in-depth resources, check out our content hub on Selenium JavaScript Tutorial. When performing test automation, you would have come across umpteen scenarios where there is a need to verify the properties and values of the WebElements.

June 30, 2021

view count202966 Views

Read time11 Min Read