| Index: pkg/webdriver/lib/webdriver.dart
|
| diff --git a/pkg/webdriver/lib/webdriver.dart b/pkg/webdriver/lib/webdriver.dart
|
| index efb6a415c3671a54d40694c2c1277768bf8c8c20..8291db842d1a13b821d11e9a24ad0397f607e4c9 100644
|
| --- a/pkg/webdriver/lib/webdriver.dart
|
| +++ b/pkg/webdriver/lib/webdriver.dart
|
| @@ -201,7 +201,7 @@ class WebDriverBase {
|
| */
|
| WebDriverBase.fromUrl([this._url = 'http://localhost:4444/wd/hub']) {
|
| // Break out the URL components.
|
| - var re = const RegExp('[^:/]+://([^/]+)(/.*)');
|
| + var re = new RegExp('[^:/]+://([^/]+)(/.*)');
|
| var matches = re.firstMatch(_url);
|
| _host = matches[1];
|
| _path = matches[2];
|
|
|