Best of SeleniumAugust 2024

  1. 1
    Video
    Avatar of TechWithTimTech With Tim·2y

    Python AI Web Scraper Tutorial - Use AI To Scrape ANYTHING

    This post guides you on building an AI-powered web scraper using Python. The scraper can extract information from any website by passing a URL and a prompt to the AI. Essential tools include Streamlit for the front end, Selenium for web scraping, and Langchain for integrating with AI models. Detailed steps cover setting up the environment, handling dependencies, and developing the UI and backend functions necessary for scraping and parsing web content. The tuto­r­ial also explores overcoming common challenges like captchas and IP bans using Bright Data's scraping browser.

  2. 2
    Article
    Avatar of lobstersLobsters·2y

    Why Playwright is less flaky than Selenium

    Playwright is considered less flaky than Selenium because its speed forces correct UI test writing from the start. Selenium's slower performance can allow race conditions to pass undetected, leading to erratic test failures. Switching to Playwright may reveal pre-existing issues in tests, which is beneficial for writing more reliable tests.