Skip to content

"sb.driver.get(url)" should work on URLs that don't have the protocol #4116

@mdmintz

Description

@mdmintz

sb.driver.get(url) should work on URLs that don't have the protocol


Eg. This works: sb.driver.get("https://example.com")
This didn't work: sb.driver.get("example.com")

If the protocol is missing, "https" should be assumed.

Note that the sb.open(url) method already handles this.

Also note that regular Selenium never had this shortcut.
(An error would happen if the protocol wasn't included.)

Metadata

Metadata

Assignees

Labels

bugUh oh... Something needs to be fixed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions