RE: Is there any way to capture 500 Internal Server error in firebug?

Hello guy’s,
can any one help me with catching 500 Internal Server error alerted in firebug for any error occurred when page is submitted, using selenium web driver

Thanks and Regards,

john Train Asked on October 21, 2015 in Software Testing.
Add Comment
1 Answers

Catching 500 Internal Server Error alerted in firebug – does this mean you need xpath of the 500 internal server error?

Instead of finding the xpath try driver.getPageSource()

String pageSource = driver.getPageSource() ;

boolean b = driver.getPageSource().contains(“your text”);


Train Answered on November 4, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.