Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Working Protractor Multi Row Selection through CONTROL key in Firefox Browser #5532

Open
A-Kavin opened this issue Aug 31, 2021 · 0 comments

Comments

@A-Kavin
Copy link

A-Kavin commented Aug 31, 2021

System:
Firefox Version: 91.0.2 (64-bit)
Protractor Version: 7.0.0
Typescript
Webdriver updated

Issue in Firefox Browser:
WebDriverError: HTTP method not allowed

Code:
async multiRowSelection(expectRow2:any,expectRow3:any){
await this.mainDiv.each(async (item)=>{
if(await item.getAttribute('row-index')===expectRow2){
await browser.actions().sendKeys(protractor.Key.CONTROL+await item.click()).perform()
}
});
await this.mainDiv.each(async (item)=>{
if(await item.getAttribute('row-index')===expectRow3){
await browser.actions().sendKeys(protractor.Key.CONTROL+await item.click()).perform()
.then(async() =>{
await browser.actions().click(protractor.Button.RIGHT).perform();
});
}
});
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant