Codekru

Selenium Forms in Java: Inputs, Checkboxes, Radio Buttons, and Select Dropdowns

Welcome back In the previous article, you learned to ask whether an element is visible, enabled, or selected. Those checks now become part of a real task: filling a form. A form collects information and choices through controls such as inputs, checkboxes, radio buttons, and dropdowns. Selenium handles each control according to the way it […]

Selenium Forms in Java: Inputs, Checkboxes, Radio Buttons, and Select Dropdowns Read More »

Selenium Element States and Attributes: Visible, Enabled, Selected, Text, CSS

Welcome back In the previous article, you learned how to click, type, clear, read, and assert. You also skipped the disabled button on TestKru because finding a button does not prove that it can be used. Today you will inspect a control before acting on it. Selenium element states answer three practical questions: Question WebElement

Selenium Element States and Attributes: Visible, Enabled, Selected, Text, CSS Read More »

Selenium Locators: Choosing ID, Name, CSS, XPath, and Link Text

Welcome back In the previous article, you inspected real HTML in Chrome DevTools. You learned to read tags and attributes, check whether an id is unique, and connect one inspected field to driver.findElement(By.id(…)). That skill answers what the page exposes. This lesson answers the next question: which Selenium locator should you use once you see

Selenium Locators: Choosing ID, Name, CSS, XPath, and Link Text Read More »