Skip to content

Commit 5501dd5

Browse files
committed
fix specs
1 parent b1d8c94 commit 5501dd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SwiftWebDriverIntegrationTests/ChromeDriver/DevTools/ChromeDriverJavascriptIntegrationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ChromeDriverJavascriptIntegrationTests: ChromeDriverTest {
2323
("sessionStorage.setItem('session', 'active'); return sessionStorage.getItem('session')", "active"),
2424
("let arr = [1, 2, 3]; arr.push(4); return arr.join(',')", "1,2,3,4"),
2525
("let obj = { name: 'Alice', age: 25 }; obj.age = 26; return `${obj.age}`", "26"),
26-
("document.body.innerHTML = '<p>Hello, World!</p>'; return document.body.innerHTML", "Hello, World!"),
26+
("document.body.innerHTML = '<p>Hello, World!</p>'; return document.body.innerText", "Hello, World!"),
2727
]) func executeJavascript(input: (String, String)) async throws {
2828
do {
2929
try await driver.navigateTo(url: testPageURL)

0 commit comments

Comments
 (0)