0

I would like to know how to get contents from a web page which allow different parameter in address link as below:

launch webpage.aspx?PARAMETER=111 {wait for page to load} retrieve webpage content

launch webpage.aspx?PARAMETER=112 {wait for page to load} retrieve webpage content

Repeat the steps from PARAMETER from 113 to 120.

samsam
  • 1

1 Answers1

0

in your html you can add

<script>
   var qry = window.location.search;
</script>

Then qry will be ?PARAMETER=111 From there you can use regex to split the parameter and value

Take a look at this SO item for more information

Community
  • 1
  • 1
bart s
  • 5,068
  • 1
  • 34
  • 55