Selenium WebDriver Tutorial #16 - WebElement Methods in Selenium

Поділитися
Вставка
  • Опубліковано 2 жов 2024

КОМЕНТАРІ • 7

  • @dilawarkhan4085
    @dilawarkhan4085 3 роки тому +3

    what to do with the window handle and handles we caught in the previous tutorial sir?

  • @manoj_mafiosi
    @manoj_mafiosi Рік тому

    Notes: Selenium WebDriver Tutorial #16 - WebElement Methods in Selenium
    Method Overview:
    - `sendKeys`: Types text into a text box using a character sequence.
    - `clear`: Clears the content of a text box before input.
    - `click`: Allows clicking on a web element (e.g., button, link) using its locator.
    - `getAttribute`: Retrieves the value of a web element's attribute (e.g., class, name).
    - `getCSSValue`: Gets the CSS value of a specific property of a web element (e.g., background color, font size).
    - `getLocation`: Provides the coordinates of the top-left corner of a web element on the page.
    - `getSize`: Returns the width and height of a web element.
    - `getTagName`: Retrieves the tag name of a web element (e.g., input, div, a).
    - `getText`: Returns the visible text of a web element (e.g., button, link).
    - `isDisplayed`: Returns a boolean value indicating whether a web element is displayed on the page.
    - `isEnabled`: Returns a boolean value indicating whether a web element is enabled or disabled (e.g., button clickable).
    - `isSelected`: Used for checkboxes and radio buttons, returns a boolean value indicating whether a web element is selected.

  • @darshitpanchal2807
    @darshitpanchal2807 Рік тому

    Hello Sir, I am facing some challenges, I want to automate our tool but due to dynamic IDs and some complex functionality I couldn't do it, but I need your help to make the proper framework and want to execute all the automation scripts to run my tool. Please let me know how I can reached to you or what I need to do for your guidance. Waiting for your reply, thank you.

  • @krupaliprajapati9800
    @krupaliprajapati9800 Рік тому

    Sir i am facing problem in launch browser. It was working with edge. But suddenly after a month I am getting webdriver listener error. Can u please help with it

  • @kirana6934
    @kirana6934 Рік тому

    Sir, windowHandle/s and Switch methods we were expecting