jeudi 10 août 2017

How do i identify the 1st, 2nd and 3rd textboxes without using indexes(ex [1]) - xapth, selenium

Below is the code. can someone pls help me to identify 3 text boxes individually, without using indexes.

<html>
<head>
<title>test</title>
<script></script>
</head>
<body>
name:
<input type="text"/>
<br/>
name:
<input type="text"/>
<br/>
name:
<input type="text"/>
<div>testdiv</div>
</body>




Aucun commentaire:

Enregistrer un commentaire