Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Selenium - Interacting with Web Elements II | Section
Test Automation with Jest and Selenium

bookSelenium - Interacting with Web Elements II

Stryg for at vise menuen

- getText method: The getText method is available with almost all kinds of elements which may contain some text. It can be used to get the textual data enclosed within the element;

- getAttribute method: The getAttribute method can be used for retrieving the value of any attribute related to an element;

- clear method: This method is useful in quickly clearing the value of an input or text field;

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 19

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Sektion 1. Kapitel 19
some-alt