driver

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChromeDriver

type ChromeDriver struct {
	Driver

	// DriverPath sets the address of the chrome driver executable file
	DriverPath string

	Service
}

ChromeDriver handles data for driver initialization with selenium packages

func (*ChromeDriver) SetDriverPath

func (c *ChromeDriver) SetDriverPath(p string)

SetDriverPath sets the address of the chrome driver executable file

func (*ChromeDriver) Start

func (c *ChromeDriver) Start()

Start initialize ChromeDriver for site handling

type Driver

type Driver struct {
	WebDriver selenium.WebDriver
}

Driver return elements to handle webdriver with selenium

type Service

type Service struct {
	WService     *selenium.Service
	Capabilities selenium.Capabilities
}

Service Returns elements from Selenium package

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL