A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/seleniumhq/selenium/commit/b9402997580a9e29820641f20639374390dda953 below:

geckodriver session with node 18.x.x (issue 2 in #10970) · SeleniumHQ/selenium@b940299 · GitHub

File tree Expand file treeCollapse file tree 5 files changed

+10

-10

lines changed

Filter options

Expand file treeCollapse file tree 5 files changed

+10

-10

lines changed Original file line number Diff line number Diff line change

@@ -162,5 +162,5 @@ module.exports = {

162 162

Command,

163 163

Options,

164 164

Result,

165 -

exec

165 +

exec,

166 166

}

Original file line number Diff line number Diff line change

@@ -56,11 +56,11 @@ let Server = function (requestHandler) {

56 56

typeof opt_port !== 'function',

57 57

'start invoked with function, not port (mocha callback)?'

58 58

)

59 -

const port = opt_port || portprober.findFreePort('localhost')

59 +

const port = opt_port || portprober.findFreePort('127.0.0.1')

60 60

return Promise.resolve(port)

61 61

.then((port) => {

62 62

return promise.checkedNodeCall(

63 -

server.listen.bind(server, port, 'localhost')

63 +

server.listen.bind(server, port, '127.0.0.1')

64 64

)

65 65

})

66 66

.then(function () {

Original file line number Diff line number Diff line change

@@ -76,11 +76,7 @@ function getAddress(family = 'IPv4') {

76 76

* @return {(string|undefined)} The IP address or undefined if not available.

77 77

*/

78 78

function getLoopbackAddress(family = 'IPv4') {

79 -

let address = getIPAddress(true, family)

80 -

if (address === '127.0.0.1') {

81 -

address = 'localhost'

82 -

}

83 -

return address

79 +

return getIPAddress(true, family)

84 80

}

85 81 86 82

/**

Original file line number Diff line number Diff line change

@@ -136,7 +136,9 @@ suite(function (env) {

136 136 137 137

beforeEach(async function () {

138 138

driver = await env.builder().build()

139 -

await driver.get(fileServer.Pages.virtualAuthenticator)

139 +

await driver.get(

140 +

fileServer.Pages.virtualAuthenticator.replace('127.0.0.1', 'localhost')

141 +

)

140 142

assert.strictEqual(await driver.getTitle(), 'Virtual Authenticator Tests')

141 143

})

142 144 Original file line number Diff line number Diff line change

@@ -52,7 +52,9 @@ test.suite(function (env) {

52 52

it('can set size of the current window from iframe', async function () {

53 53

await driver.get(test.Pages.iframePage)

54 54 55 -

const frame = await driver.findElement({ css: 'iframe[name="iframe1-name"]' })

55 +

const frame = await driver.findElement({

56 +

css: 'iframe[name="iframe1-name"]',

57 +

})

56 58

await driver.switchTo().frame(frame)

57 59

await changeSizeBy(-20, -20)

58 60

})

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4