Skip to content
This repository was archived by the owner on Nov 23, 2021. It is now read-only.
This repository was archived by the owner on Nov 23, 2021. It is now read-only.

Webdriver browser instance remains open even after running all the tests while using webdriver.reusable property as true #437

@GuptaMegha

Description

@GuptaMegha

Environment

Bobcat version:

Bobcat modules used:

  • bb-core
  • bb-aem-65
  • bb-junit5

Browser Chrome 81 version:

Expected Behavior

When webdriver.reusable = true
then Webbrowser should be closed afterAll the tests are ran.

Actual Behavior

Even after all the test are ran, a blank instance remain open.

Steps to reproduce

I need to reuse the AEM pages so I am creating pages in BeforeAll instead of BeforeEach and then creating separate tests for these pages and at the end I am deleting all the pages in AfterAll.

So I have to use webdriver.reusable property otherwise webdriver is getting closed after each test.

On using the property tests are running fine but at the end of the test webdriver browser instance remains open as Blank page.

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