Selenium Articles

Page 4 of 37

Locating multiple elements in Selenium Python

Siva Sai
Siva Sai
Updated on 18-Jul-2023 619 Views

Selenium is an effective tool for remotely manipulating a web browser. It works well for testing purposes when automating web applications. Finding items on a webpage is a crucial Selenium feature. In this lesson, we'll concentrate on utilising Python to find numerous Selenium items. Introduction to Selenium A well-known open-source web automation tool is Selenium. It gives programmers a means to create scripts in a variety of languages, including Python, Java, C#, etc. With Selenium, you can automate any browser-related actions, including clicking, typing, selecting, and navigating. Setting Up Selenium It's essential to make sure Selenium is properly configured and ...

Read More

Like instagram pictures using Selenium and Python

Siva Sai
Siva Sai
Updated on 18-Jul-2023 1K+ Views

With over a billion members, Instagram is a hugely successful social networking website. It is a favourite platform for data scientists, marketers, and developers alike because to its strong API and data accessibility. With the aid of 2-3 examples, we will examine how to like Instagram photos programmatically using Python and Selenium in this article. Please be aware that this information is only meant to be instructive. Respecting Instagram's rules and refraining from behaviour that can be construed as spamming are crucial. Getting Started: Installation and Setup You need to set up your environment before you start coding. Python and ...

Read More

Managing Testing Tools for DevOps

Aadyaa Srivastava
Aadyaa Srivastava
Updated on 27-Apr-2023 540 Views

Introduction to DevOps Testing Tools Modern software development and deployment procedures need the use of DevOps testing technologies. DevOps is all about automating and streamlining the development process, and testing is an essential component of that. The use of appropriate testing tools can assist teams in identifying difficulties early in the development cycle, preventing faults from entering production, and eventually delivering high-quality software to clients. Selenium, JMeter, and Postman are some common DevOps testing tools. Selenium is a free and open-source framework for testing web applications, whereas JMeter is a load testing tool for simulating high traffic and measuring ...

Read More

Food Recognition Selenium using Calorie Mama API

Atharva Shah
Atharva Shah
Updated on 18-Apr-2023 577 Views

An open-source program used to automate web browsers is called Selenium Webdriver. It offers a platform-independent testing framework for web applications on many platforms and browsers. With the use of deep learning and computer vision algorithms, the food identification API Caloriemama can recognise different foods and their nutritional values from a single photograph. In this guide, we'll look at how the Selenium Webdriver automates the process of uploading photographs and retrieving the results, making it simple for developers to include food recognition functionality into their apps and provide consumers with correct nutritional information. Setup Firefox Executable Download the ...

Read More

Action Chains in Selenium Python

Rohan Singh
Rohan Singh
Updated on 17-Apr-2023 6K+ Views

Action chains in selenium python are the execution of multiple browser actions together in sequence. Selenium is a popular open-source automation testing tool used to test web applications and automate browser actions. Selenium can chain multiple browser actions together and this chaining of multiple actions is known as Action chains. In this article, we will discuss what action chains are in selenium python and how to use action chains to automate our web testing. What are Action Chains in Selenium Python? Action chains are a sequence of actions that are performed in a specific order on a web page to ...

Read More

Difference b/w getText() and getAttribute() in Selenium WebDriver

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 28-Jul-2022 10K+ Views

Selenium WebDriver is an automation tool that is used to automate the testing of web applications and make sure they work as expected. Automation means the programmer doesn't have to write testing scripts; Selenium can write test cases without any script.Selenium supports a wide variety of programming languages such as Java, Python, PHP, Ruby, C#, Perl, Scala, etc. which means Selenium can provide test cases in any of these languages. It supports all the popular browsers such as Chrome, Firefox, Safari, and Internet Explorer. Selenium is an open-source tool which makes it even more popular among developers.In this article, we ...

Read More

How to get rid of Firefox logging in Selenium?

Debomita Bhattacharjee
Debomita Bhattacharjee
Updated on 08-Feb-2022 2K+ Views

After the execution of tests, there are logs generated because of Firefox logging in with geckodriver. This log generation by Firefox can be disabled by certain parameters setting.We can stop these logs from being recorded in the console and capture them in a different file. This is achieved with the help of the System.setProperty method. In the above image, we can see the geckodriver logs generated in the console.SyntaxSystem.setProperty(FirefoxDriver.SystemProperty.DRIVER_USE_MARIONETTE, "true"); // turning off logs System.setProperty(FirefoxDriver.SystemProperty.BROWSER_LOGFILE, ""); // record logs in another fileExampleimport org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; import java.util.concurrent.TimeUnit; public class LogsDisable{    public static void main(String[] ...

Read More

Gmail login fail using Selenium webdriver. Showing element not found for password.

Debomita Bhattacharjee
Debomita Bhattacharjee
Updated on 18-Nov-2021 851 Views

We can encounter Gmail login failure while using Selenium webdriver due to the error - element not found for password. This can be fixed by the methods listed below −Adding implicit wait - Implicit wait is applied to instruct the webdriver for polling the DOM(Document Object Model) for a specific amount of time while attempting to identify an element that is currently unavailable.The default value of the implicit wait time is 0. Once a wait time is set, it remains applicable throughout the entire life of the webdriver object. If an implicit wait is not set and an element is ...

Read More

How to send a report through email using Selenium Webdriver?

Debomita Bhattacharjee
Debomita Bhattacharjee
Updated on 29-Jun-2021 3K+ Views

We can send a report through email using Selenium webdriver. The email report can be an important feature in an automation framework. An email should be necessarily sent after the combined execution of a regression suite has completed to get an overall view of the test results.The ways to send a report through email are listed below −Using the Java library - Apache Commons available in the below link: https://commons.apache.org/proper/commons-email/.Using the Java mail JAR. The details of this is available in the below link: https://javaee.github.io/javamail/Steps to configure the Java mail JAR are listed below −Step1 − Navigate to the below ...

Read More

How to do UI testing with Selenium?

Debomita Bhattacharjee
Debomita Bhattacharjee
Updated on 29-Jun-2021 2K+ Views

We can do UI testing with Selenium webdriver. To achieve this, we have to follow the steps listed below which can be applied to any script developed to test the UI of the application −Step1 − Object of Webdriver should be created. For example, WebDriver driver = new ChromeDriver();The above piece of code is used to create a webdriver instance and initiate the script execution in the Chrome browser.Step2 − Launch the URL on which we want to perform the UI testing. For example, driver.get("https://www.tutorialspoint.com/about/about_careers.htm");The above piece of code shall launch the URL passed as a parameter to the get ...

Read More
Showing 31–40 of 362 articles
« Prev 1 2 3 4 5 6 37 Next »
Advertisements