1

I am trying to learn xpath and CSSselector. Go to https://profile.oracle.com/myprofile/account/create-account.jspx and I am trying to find xpath for email. How do I find css by ID for email. With name I can find, but How about with ID.

So can you help me what will be css with ID for email.

Hari
  • 65
  • 1
  • 8

2 Answers2

1

here is the css for the email.

#email\:\:content

basically you have to use the escape for the :.

supputuri
  • 13,136
  • 2
  • 18
  • 38
1

you can use tagname with id

input#email\:\:content
Saurav D
  • 11
  • 4