For example if the url is - http://blah.com?origin=home&id=54&level=2. This could be a dynamically generated link on a webpage with 'id' and 'level' values from the DB.
Now if i want to use this exact URL in my load() or for assertion in isLoaded() methods of pageobject which extends loadablecomponent, i would need to capture this URL from my page and then pass it to my pageobject. Or worse manually generate this by parsing the URL and getting the query parameters, which is a pain.
Is there a better design or logic to do this easily? Or just remove the driver.get(dynamic URL) from load() and use some other assertions in isLoaded()?