# learnitbro.com > AI-optimized mirror of learnitbro.com containing 50 pages totalling 1,153 words of clean markdown content, structured data, and semantic HTML. Original source: https://learnitbro.com/. Last updated: 2026-06-12T12:09:22.522Z. Each page is available as HTML (with JSON-LD structured data) and Markdown (text-only, ideal for LLMs and RAG). ## Homepage - [**Learn It Bro**](/content/site-root.html): Learn It Bro Turn From A Bro To A Pro We are dedicated to teaching users programming and aims to make learning coding accessible and engaging. With a user-friendly interface, we offers a variety of programming courses for beginners to advanced learners. The platform provides interactive coding exercises, real-world projects, and a supportive community to… (324 words) ## Articles & Blog Posts - [Oops! That page can’t be found.](/content/projects/current/the-pink-bakery-shop/index.html): Turn From A Bro To A Pro (19 words) - [Name – Learn It Bro](/content/courses/selenium/locator/name/index.html): Name Locator: This type of locator finds an element on the page using the name attribute of the element. Here's an example of how to locate an element by name: Above, we have an input element with a name attribute of "username". import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import… (1 words) - [Parent – Learn It Bro](/content/courses/selenium/locator/xpath/xpath-axes/parent/index.html): In Java Selenium, the parent axis is used in XPath expressions to select the parent element of a given element in the HTML document. The parent axis selects the immediate parent element of the current element. For example, if we have the following HTML code:
To select… (1 words) - [Class Name – Learn It Bro](/content/courses/selenium/locator/class-name/index.html): Class Name Locator: This type of locator finds an element on the page using the class name of the element. Here's an example of how to locate an element by class name:
Hello World!
Above, we have a div element with a class attribute of "my-class". import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver;… (1 words) - [ID – Learn It Bro](/content/courses/selenium/locator/id/index.html): ID Locator: This type of locator finds an element on the page using the unique ID attribute of the element. Here's an example of how to locate an element by ID:
Hello World!
Above, we have a div element with an ID of "my-div". import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; public class… (1 words) - [Starts With – Learn It Bro](/content/courses/selenium/locator/xpath/starts-with/index.html): In Selenium, the starts-with function is an XPath function that can be used to match the beginning of an element's attribute or text value. The syntax for using the starts-with function in an XPath expression is as follows: # Attribute //tagname[starts-with(@attribute, 'value')] # Text //tagname[starts-with(text(), 'value')] Here, tagname is the name of the HTML element… (1 words) - [Tag Name – Learn It Bro](/content/courses/selenium/locator/tag-name/index.html): Tag Name Locator: This type of locator finds an element on the page using the tag name of the element. Here's an example of how to locate an element by tag name:

Welcome to my website

Above, we have an h1 element with the text "Welcome to my website". import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement;… (1 words) - [Types of XPath – Learn It Bro](/content/courses/selenium/locator/xpath/types-of-xpath/index.html): There are two main types of XPath expressions: Absolute and Relative. Absolute XPath: Absolute XPath expressions start with a single forward slash (/), which represents the root of the document, and then specify the complete path to the element you want to select. Absolute paths are often longer and more complex than relative paths, but… (1 words) - [Sibling – Learn It Bro](/content/courses/selenium/locator/xpath/xpath-axes/sibling/index.html): In Java Selenium, they are two types of sibling axis: following-sibling and preceding-sibling The following-sibling axis is used in XPath expressions to select the siblings that come after a given element in the HTML document. The following-sibling axis selects all sibling elements that come after the current element. The preceding-sibling axis is used in XPath… (1 words) - [Following & Preceding – Learn It Bro](/content/courses/selenium/locator/xpath/xpath-axes/following-preceding/index.html): The following axis is used in XPath expressions to select the elements that come after a given element in the HTML document, including child elements. The following axis selects all the elements that come after the current element, including child elements. For example, if we have the following HTML code: