Skip to content

Commit

Permalink
fix(selenium runner): Move back to mv2 on firefox
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Dec 31, 2023
1 parent 355cae7 commit 6a4cb69
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions test/selenium-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,27 +68,6 @@ installConsoleHandler()
return extension.extension.baseURL
})
if (!testUrl) throw new Error('Could not install extension')

// Enable permission
await driver.get('about:addons')
await driver.sleep(10000)
await driver.executeScript(function() {
document.querySelector('button[name=extension]').click()
})
await driver.sleep(10000)
console.log(await driver.getPageSource())
await driver.executeScript(function() {
document.querySelector('addon-card').click()
})
await driver.sleep(10000)
await driver.executeScript(function() {
document.querySelector('#details-deck-button-permissions').click()
})
await driver.sleep(10000)
await driver.executeScript(function() {
document.querySelector('#permission-0').click()
})
await driver.sleep(5000)
break
default:
throw new Error('Unknown browser')
Expand Down

0 comments on commit 6a4cb69

Please sign in to comment.