Skip to content
This repository was archived by the owner on Jun 6, 2018. It is now read-only.

Requiring 'watir-webdriver' can lead to infinite loops. #11

@mhodgson

Description

@mhodgson

If you require 'watir-webdriver' explicitly in you tests, it may cause Watir::Browser.new to lead to an infinite loop. I suggest two things:

  1. Update the README to make this clear.
  2. Eventually refactor the code to not redefine the initialize method based on what value has been set for the driver. A fairly simple inheritance structure should help here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions