Skip to content

IE Edge Mode: Delete history and all data after data after a test is completed. #30

Open
@manu141

Description

Feature to have: Delete history and all data after data after a test is completed using the setting options from IE to work for IE Edge mode.

Currently, we have enabled all of the IE settings and Edge settings to delete data/history after the browser is closed. but we are seeing it not being deleted, as our login routes through 'https://login.microsoftonline.com/' and every time we see that username is not deleted even after proper logout. So currently I know most of us(i think), we have to use 'destructivelyEnsureCleanSession();' to clear all of the data/history and it helps for now, but in future its good to have a way IE Edge can delete all the history or data before a new browser is launched every time we could save about 15-20 seconds on each test.(like how IE is working now)

This is how we are running currently with Setup @BeforeMethod in Java :
InternetExplorerOptions ieOptions = new InternetExplorerOptions();
Map<String, Object> ops = (Map<String, Object>)
ieOptions.getCapability("se:ieOptions");
ops.put("ie.edgechromium", true);
ops.put("ie.edgepath", "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe");
ieOptions.destructivelyEnsureCleanSession();

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingieInternet Explorer ModetrackedThis issue is now tracked on our internal backlog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions