Comments (2)
I tried to use the below code snippet for getting the selected options label text from a multi-select dropdown, but the the property 'selectedOptions' isn't available on the HTMLElement type. How can we overcome this issue?
const selectedOptionsText = await page.$eval('selector', (select) => { return Array.from(select.selectedOptions).map(option => option.textContent); });
from playwright.
The issue tracker is reserved for bug reports and feature requests.
For anything else, such as questions or getting help, please see:
from playwright.
Related Issues (20)
- how to run with chrome browser? I dont want to install all the browser and its time-consuming process.
- [Bug]: HTML Trace Link Drops Last Path HOT 3
- [Bug]: Playwright Test for VSCode stop button no longer works HOT 9
- [Bug]: test.extend outside local yarn workspace doesn't seem to work HOT 1
- [Bug]: vscode extension defaults should show all projects
- [Feature]: Running the test is in live mode in ui mode("Small changes, big results.") HOT 1
- [Bug]: Setting slow_mo between 340-1000 will cause the content of the drop-down box to display as empty. HOT 1
- [Feature]: Hovering over the filmstrip panel HOT 2
- [Bug]: Playwright Test for VSCode duplicates run information i bottom right table
- [Feature]: Support `ShadowDOM` for `Page.content()`
- [Bug]: Playwright Test for VSCode extension v.1.1.1 - Run button does not appear next to tests HOT 7
- [Bug]: .env file bypassed in debug mode 1.1.1 HOT 2
- [Feature]: Trace viewer: When using multiple browsers, I would like to see which browser is making which HTTP request HOT 1
- Video testing is not working on playwright HOT 3
- [Bug]: JUnit report contains invalid character in logs HOT 2
- [Bug]: Running issues in debug does not work and ends up in multiple different situations. HOT 1
- [Bug]: 1.44.0 automatically closes the browser on test end (even with reuseBrower:true) HOT 2
- Can't run tests in debug mode HOT 4
- [Bug]: Test info attached in html report in wrong format HOT 1
- [Feature]: receive parameters in `test.describe()` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playwright.