More logging
1 files changed, 2 insertions(+), 0 deletions(-) M main.go
M main.go +2 -0
@@ 50,11 50,13 @@ func (c *Client) connect() selenium.WebD for { var err error + logger.Print("Connecting to ", c.URL, " with ", c.Capabilities) c.driver, err = selenium.NewRemote(c.Capabilities, c.URL) if err != nil { logger.Println("Error connecting to", c.URL, err) time.Sleep(30 * time.Second) } else { + logger.Println("connected to", c.URL) if c.Timeout != 0 { c.driver.SetPageLoadTimeout(c.Timeout) }