SQA Tools Blog

Learn testing and automation, one article at a time

Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.

1,677Articles
1,141Solved Python problems
7Topics
100%Free

Selenium articles

30 articles · page 2 of 3 · Clear filters
Selenium

Take Screenshot Selenium

To take screenshot using Selenium in Python, you can use the save_screenshot() method or get_screenshot_as_file() method. Here's how you can do it: Selenium Features Selenium Installation…

2 min readRead →
Selenium

Forward, Back and Refresh Methods

In Selenium with Python, you can use the back(), forward(), and refresh() methods to navigate through browser history and reload pages. Here's a quick overview of…

2 min readRead →
Selenium

Get Current URL

To get the current URL in Python using Selenium, you can use the current_url property of the WebDriver instance. Here's how you can do it: Selenium…

1 min readRead →
Selenium

get_attribute Method

In Selenium with Python, the get_attribute() method is used to retrieve the value of a specific attribute from an HTML element. This can be particularly useful…

2 min readRead →
Selenium

Get Text Selenium Method

In Selenium with Python, the text method retrieves the visible text from a web element. This is useful when you need to get the content of…

2 min readRead →
Selenium

click Method

In Selenium with Python, the click() method is used to simulate a mouse click on a web element, like a button, link, or any other clickable…

2 min readRead →
Selenium

send_keys Method

The send_keys() method in Selenium is used to simulate typing text into input fields or elements such as text boxes, text areas, or other editable elements…

2 min readRead →
Selenium

Selenium Waits

Selenium waits allow you to manage timing issues and ensure that your script interacts with elements only when they’re ready

4 min readRead →
Selenium

is_selected Method

The is_selected() method in Selenium is used to check whether a web element, such as a checkbox, radio button, or option in a dropdown, is currently…

2 min readRead →
Selenium

is_displayed Method

The is_displayed() method in Selenium is used to check whether a web element is visible to the user on the webpage. This method returns True if…

2 min readRead →
Selenium

is_enabled Method

The is_enabled() method in Selenium is used to check whether a web element is enabled or not. This is typically used to verify if an input…

2 min readRead →
Selenium

find_element and find_elements methods

In Selenium, two commonly used methods to locate elements on a web page are find_element and find_elements . They allow you to interact with HTML elements…

3 min readRead →

Preparing for a QA interview?

Take free timed mock tests with answers and explanations.