webdriver.phantomjs.service

Module Contents

Classes

Service(self,executable_path,port=0,service_args=None,log_path=None) Object that manages the starting and stopping of PhantomJS / Ghostdriver
class Service(executable_path, port=0, service_args=None, log_path=None)

Object that manages the starting and stopping of PhantomJS / Ghostdriver

__init__(executable_path, port=0, service_args=None, log_path=None)

Creates a new instance of the Service

Args:
  • executable_path : Path to PhantomJS binary
  • port : Port the service is running on
  • service_args : A List of other command line options to pass to PhantomJS
  • log_path: Path for PhantomJS service to log to
_args_contain(arg)
command_line_args()
service_url()

Gets the url of the GhostDriver Service

send_remote_shutdown_command()