• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Selenium by
Q:
How to fetch the current page URL in Selenium?

1 Answer

0 votes
by
To fetch the current page URL, we use getCurrentURL()

driver.getCurrentUrl();

1

driver.getCurrentUrl();

Related questions

0 votes
asked Aug 22, 2019 in Selenium by john ganales
+1 vote
asked Aug 22, 2019 in Selenium by john ganales
...