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 BrowserHelper.BrowserHelper(system, config)¶
This is an abstract super class, largely provided to give a common isinstance() call for all browser helpers.
Parameters:
system: a <no title> object used to communicate with the target
config: a <no title> object defining this user
- BrowserHelper.get_browser_helper(system, config, helper_type)¶
This is a Factory function which will instantiate the correct BrowserHelper. This method will throw an UnknownType exception if the helper_type isn’t a known type.
Parameters:
system: a <no title> object which lets us control the remote system
config: a <no title> object defining the current user
type: optionally a web browser type which can be passed to the WebBrowserImpl factory to get a suitable implementer object back