I want to extract status code of page objects like images or any content

0 votes
My webpage loaded successfully, but there are some content missing in some pages. Pages with missing content is showing 404 status code. I need to find out which pages are showing 404 status code. Please help.
Jun 8, 2020 in Selenium by Upma
• 120 points
640 views

Hey @Upma, in case you are talking about getting the Http response code in selenium, have a look at this 

https://www.edureka.co/community/2058/can-we-get-the-http-response-code-in-selenium-with-java

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Selenium

0 votes
0 answers
+1 vote
2 answers
0 votes
0 answers
+1 vote
1 answer

according to the video download the latest version of jdk. Should i still download the jdk 8 or the jdk 13? thank you.

I think using stable version is better ...READ MORE

answered Oct 18, 2019 in Selenium by Abha
• 28,140 points
605 views
+1 vote
1 answer

How can I automate the process of adding iPhone to cart in Flipkart using Selenium(java),Page Object Model and TestNG? Also validate if product is added and available in cart?

Hey check this https://www.edureka.co/community/47160/automate-purchase-adding-book-cart-flipkart-using-selenium? It deals with a similar ...READ MORE

answered Jan 13, 2020 in Selenium by Karan
• 19,610 points
8,341 views
0 votes
1 answer

String insId=RecInspage.getInsIdByTransportName(driver, fileName).getText(); I want to give explicit wait for this how to write code?

Check out this link https://www.edureka.co/blog/waits-in-selenium/ This will give you ...READ MORE

answered Apr 27, 2020 in Selenium by Sirajul
• 59,230 points
646 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP