I am using Open Browser Activity to load a web page and storing the response(not sure what response its gettting) in a variable. Is there a way to know the status of the page using a method of the object to get the status.
Hi,
By Status, do you mean the response code? Like 200,400,500 ?
If you want to check if the page is fully loaded, you would have to use “element exists” activity.
~Rupesh
Yes, i need to know the response code
To get the response code, you need to install Uipath.Web.Activities package,
Then add, http Request activity
In the End point, add your page url.
~Rupesh
1 Like
You can use HTTP Request activity and place the variable you would like to receive output in Status Code the activity property output (Property->Output->Status Code)
Documentation of HTTP Request
1 Like