Good afternoon. I'm trying to get a list of users from the site (let it be example.com \ users) (using RestSharp, but in general it would only become clear at last), and for this you first need to drive the search data into the selector. It looks like a piece of page code like this:
<select name="search_users" id="search_users_id"> <option value="" selected="selected">Select a country</option> <option value="1">Russia</option> And despite the long reading of various resources, I still can not understand - how to throw the desired value of "Russia" as the selected one? I understand that you need to send something like
<select name="search_users" id="search_users_id"> <option value="">Select a country</option> <option value="1" selected="selected">Russia</option> But how is that specific? All that I find lately is either examples of "How to get the code for the page" (although I still understand how to get the code for the RestSharp page), or something that is understandable to people already passing by. Thank :)