Tagged: selenium

selenium 0

Selenium and xpath — locate an element using class attribute

Issue : Locate the fol­low­ing ele­ment using its Class. <div class=“globalContainer”> <div> … </div> </div> Res­o­lu­tion : You can write the fol­low­ing query in the browser con­sole. $x(//div[@class=“globalContainer”]) Fur­ther Read­ing xPath loca­tor Prac­ti­cal Examples

selenium 0

Selenium and xpath — locate an element using id attribute

Issue : Locate the fol­low­ing ele­ment using its ID. <div id=“globalContainer”> <div> … </div> </div> Res­o­lu­tion : You can write the fol­low­ing query in the browser con­sole. $x(//div[@id=“globalContainer”]) Fur­ther Read­ing xPath loca­tor Prac­ti­cal Examples

ubuntu-icon 1

Setup remote selenium driver

Do you want your Jenk­ins plan to run your func­tional automa­tion tests to run against remote sele­nium host? Do you need help in set­ting up remote sele­nium host? Then this tuto­r­ial will teach you…