1

When I open the URL with driver.get(url), how can I get the response content of the page? Please refer to the image for more information. enter image description here

Mahipal
  • 872
  • 1
  • 5
  • 7
Alex Bruce
  • 495
  • 7
  • 21
  • Possible duplicate of [How to get HTTP Response Code using Selenium WebDriver with Java?](http://stackoverflow.com/questions/6509628/how-to-get-http-response-code-using-selenium-webdriver-with-java) – Tom May 10 '17 at 03:28
  • 1
    my question is different with that one – Alex Bruce May 10 '17 at 05:15
  • Can you please elaborate what is your exact testing step? What worked for you? Show code. Share the relevant HTML DOM as well. Thanks – DebanjanB May 10 '17 at 05:57
  • @Dev There is a token in this page,I want to get the token when I open this page with driver.get(url), then the token text will be used for login – Alex Bruce May 10 '17 at 06:04
  • How does pattern of the token looks like? e.g. Any matching patterns? – DebanjanB May 10 '17 at 06:07

1 Answers1

-1

In a separate post I saw this answer. As per it there is a ticket opened for Selenium.

Community
  • 1
  • 1
shavikH
  • 5
  • 1