Skip to content

Investigate/Remove usage of sync WebDriver APIs #50144

@jonahwilliams

Description

@jonahwilliams

The flutter_driver web implementation currently relies on sync sockets: https://github.com/flutter/flutter/blob/master/packages/flutter_driver/lib/src/driver/web_driver.dart#L12

We probably shouldn't be using these, since it can hang the tool or test script to block on a socket connection. It seems like the async versions of web_driver incur additional overhead on closing, but that could be investigated as a bug on its own.

  • @angjieli did you ever discover the reason for the 15 second delay?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: proposalA detailed proposal for a change to Fluttert: flutter driver"flutter driver", flutter_drive, or a driver testteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions