ConsoleUser

Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com

This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.

All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.

class AndroidBrowser.AndroidBrowser(system, config)
exit(save=False)

Close the browser and all the tabs. The save parameter is accepted only to provide a common prototype for the function, it has no meaning here.

Parameters:

  • save: ignored

go_to_uri(uri, wait_for_load=True)

Navigate to the URI, bringing this window to the fore before trying.

This method will block until the page is finished loading.

Parameters:

  • uri: a string to be typed into the URL bar of the browser

  • wait_for_load: determines whether this function should try to wait for the page to load or not

is_loaded()

Return: True if the current page is done loading, false otherwise

open()

Launch the browser