We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23f6bdc commit 799bec1Copy full SHA for 799bec1
packages/selianize/src/command.js
@@ -590,6 +590,8 @@ async function emitSelect(selectElement, option) {
590
async function emitSelectFrame(frameLocation) {
591
if (frameLocation === 'relative=top') {
592
return Promise.resolve('await driver.switchTo().frame();')
593
+ } else if (frameLocation === 'relative=parent') {
594
+ return Promise.resolve('await driver.switchTo().parentFrame();')
595
} else if (/^index=/.test(frameLocation)) {
596
return Promise.resolve(
597
`await driver.switchTo().frame(${frameLocation.split('index=')[1]});`
0 commit comments