What is the difference between ‘/’ and ‘//’ in selenium ?
//- it is used to search in the entire structure. /- it is used to identify the immediate child.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vinay SinghRank #604 · 4K reputationPosted Aug 28, 2016, 5:56 AM EDT
Abhishek AroraRank #502 · 4.9K reputationPosted Nov 10, 2016, 8:22 AM EST