Guest User

Untitled

a guest
Jun 19th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. String number = driver.findElement(By.xpath("//span[@data-dojo-attach-point='subNumber']")).getText();
  2.  
  3. String number = doc.select(" >span >data-dojo-attach-point=subNumber").text();
  4. System.out.println(number);
  5.  
  6. Could not parse query 'data-dojo-attach-point=subNumber': unexpected token at '=subNumber'
Add Comment
Please, Sign In to add comment