playwright/test
Andrey Lushnikov f24696be62
feat: add page convenience methods for textContent and getAttribute (#2235)
This patch adds:
- `page.innerText()` / `frame.innerText()`
- `page.innerHTML()` / `frame.innerHTML()`
- `page.textContent()` / `frame.textContent()`
- `page.getAttribute()` / `frame.getAttribute()`

Fixes #2143
2020-05-18 17:58:23 -07:00
..
assets fix(css selector): support comma-separated selector lists (#2120) 2020-05-07 13:36:54 -07:00
chromium fix(oopif): adopt main requests into oopifs (#2284) 2020-05-18 17:13:51 -07:00
electron chore: use internal BrowserOptions to unify browsers (#2230) 2020-05-14 13:22:33 -07:00
fixtures chore: remove main index.js from playwright-core (#2178) 2020-05-11 09:38:09 -07:00
golden-chromium fix(webkit): allow contenttype with charset in interception (#2108) 2020-05-04 21:49:54 -07:00
golden-firefox fix(webkit): allow contenttype with charset in interception (#2108) 2020-05-04 21:49:54 -07:00
golden-webkit fix(webkit): allow contenttype with charset in interception (#2108) 2020-05-04 21:49:54 -07:00
installation-tests feat(install): use shared installation folder by default (#2044) 2020-04-29 18:59:20 -07:00
accessibility.spec.js test: remove module.export.describe wrapper (#1716) 2020-04-08 15:19:09 -07:00
apicoverage.spec.js test: remove module.export.describe wrapper (#1716) 2020-04-08 15:19:09 -07:00
autowaiting.spec.js fix(actions): do not wait for the created popups (#2219) 2020-05-13 17:20:33 -07:00
browser.spec.js test: remove module.export.describe wrapper (#1716) 2020-04-08 15:19:09 -07:00
browsercontext.spec.js feat(exposeBinding): a more powerful exposeFunction with source attribution (#2263) 2020-05-18 14:28:06 -07:00
capabilities.spec.js test(websockets): add web sockets tests (#1758) 2020-04-12 18:28:42 -07:00
click.spec.js chore: add input logging and timeout debugging hints (#2109) 2020-05-04 21:44:33 -07:00
cookies.spec.js test(webkit): mark strict cookie tests as passing on linux (#2164) 2020-05-11 12:15:48 -07:00
defaultbrowsercontext.spec.js test: add third party cookies test (#2073) 2020-05-04 09:14:42 -07:00
dialog.spec.js test: remove module.export.describe wrapper (#1716) 2020-04-08 15:19:09 -07:00
dispatchevent.spec.js fix(waitForSelector): use raf polling instead of mutation (#2047) 2020-04-29 20:46:42 -07:00
download.spec.js feat(webkit): roll to r1228 (#2232) 2020-05-14 07:57:29 -07:00
elementhandle.spec.js feat: add page convenience methods for textContent and getAttribute (#2235) 2020-05-18 17:58:23 -07:00
emulation.spec.js api(viewport): do not allow isMobile and deviceScaleFactor for null viewports (#2190) 2020-05-12 18:31:17 -07:00
evaluation.spec.js fix: throw from eval methods if >1 argument is passed (#2043) 2020-04-29 18:35:04 -07:00
fixtures.spec.js test: mark failing headful tests as such (#2226) 2020-05-13 18:33:07 -07:00
focus.spec.js test: add focus traversal test (#2141) 2020-05-07 16:10:29 -07:00
frame.spec.js test: remove module.export.describe wrapper (#1716) 2020-04-08 15:19:09 -07:00
geolocation.spec.js test(geolocation): test context isolation (#1770) 2020-04-13 21:43:06 -07:00
headful.spec.js api(viewport): do not allow isMobile and deviceScaleFactor for null viewports (#2190) 2020-05-12 18:31:17 -07:00
ignorehttpserrors.spec.js fix(webkit): ignore WebSocket certificate errors on Mac (#1900) 2020-04-22 12:41:39 -07:00
input.spec.js api(setInputFiles): introduce page/frame helpers, document, break compat (#1818) 2020-04-16 10:25:28 -07:00
interception.spec.js fix(webkit): allow contenttype with charset in interception (#2108) 2020-05-04 21:49:54 -07:00
jshandle.spec.js test: remove module.export.describe wrapper (#1716) 2020-04-08 15:19:09 -07:00
keyboard.spec.js feat(webkit): roll to 1124 (#2156) 2020-05-08 10:02:49 -07:00
launcher.spec.js test: unflake launcher test (#2224) 2020-05-13 17:19:07 -07:00
logger.spec.js feat(logger): introduce context-level logger (#1896) 2020-04-20 23:24:53 -07:00
mouse.spec.js test: disable flaky firefox tests (#1912) 2020-04-22 00:07:02 -07:00
multiclient.spec.js chore(test): move more test options to state (#1761) 2020-04-12 22:19:26 -07:00
navigation.spec.js fix(webkit): make click work with cross-process _blank target (#2083) 2020-05-02 10:57:33 -07:00
network.spec.js test: add a test for response coming from service worker (#2138) 2020-05-07 12:28:47 -07:00
page.spec.js feat: add page convenience methods for textContent and getAttribute (#2235) 2020-05-18 17:58:23 -07:00
permissions.spec.js test: mark failing headful tests as such (#2226) 2020-05-13 18:33:07 -07:00
popup.spec.js fix: report hash in `page.url()` (#2252) 2020-05-14 17:23:19 -07:00
queryselector.spec.js chore: refactor injected script harness (#2259) 2020-05-15 15:21:49 -07:00
run_static_server.js
screenshot.spec.js fix(screenshot): use innerW/H instead of offsetW/H to determine viewport size (#2229) 2020-05-13 20:53:11 -07:00
test.config.js feat(electron): experimental electron support (#2166) 2020-05-11 18:00:33 -07:00
test.js chore: use internal BrowserOptions to unify browsers (#2230) 2020-05-14 13:22:33 -07:00
tsconfig.json chore(tests): add types for tests (#915) 2020-02-10 13:20:13 -08:00
types.d.ts chore: remove main index.js from playwright-core (#2178) 2020-05-11 09:38:09 -07:00
utils.js chore(test): move more test options to state (#1761) 2020-04-12 22:19:26 -07:00
waittask.spec.js test: fix should poll on interval test (#2180) 2020-05-11 08:00:53 -07:00
workers.spec.js feat(firefox): roll to r1082 (#1819) 2020-04-15 19:50:04 -07:00