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 FirefoxGeneric.FirefoxGeneric(system, config)

This is the calss that is the top of all instances of Firefox, and the code here should be broadly applicable.

Parameters:

  • system: the <no title> object connecting us to the target system

  • config: a <no title> object defining this user

close_all_tabs()

When closing we are being prompted to close all the tabs, so agree to do so.

go_to_uri(uri, wait_for_load=True)

Navigate to the desired URI, probably waiting for the page to finish loading before returning.

Parameters:

  • uri: the string to enter in the navigation field

  • wait_for_load: optionally whether this should block until the page is loaded