testcentricity_web 3.2.12 → 3.2.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/testcentricity_web/version.rb +1 -1
- data/lib/testcentricity_web/web_core/page_object.rb +11 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd884e7c045d85b1779d0fa20d7e50f0c8f5ccd377c598170c3b71c967b30dc2
|
4
|
+
data.tar.gz: 6e3ceb7ece2bf22cc03af85cecf234e229df7d2786000a928348a37d25da6648
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52e8774769a5be34d58fbb6aeb13837e1ec38e3437ad028ced29cea9559f2ce7d4f8e60c03ea3727f82f1b9212f256a3779ee194410a22907bbabbbfdfb432d8
|
7
|
+
data.tar.gz: c63ab4b5407ef7c6525a2bf261486c9ea855045b4dcf289407b2f23bb86b53e6027c73a2465fd491fa5eb16740a56eb0edfd3dfecf0c512bcb5eed8351dd347b
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -481,6 +481,17 @@ module TestCentricity
|
|
481
481
|
page.driver.browser.title
|
482
482
|
end
|
483
483
|
|
484
|
+
# Send keystrokes to the focused element on a Page object
|
485
|
+
#
|
486
|
+
# @param keys [String] keys
|
487
|
+
# @example
|
488
|
+
# editor_page.send_keys([:control, 'z'])
|
489
|
+
#
|
490
|
+
def send_keys(*keys)
|
491
|
+
focused_obj = page.driver.browser.switch_to.active_element
|
492
|
+
focused_obj.send_keys(*keys)
|
493
|
+
end
|
494
|
+
|
484
495
|
# Wait until the page object exists, or until the specified wait time has expired. If the wait time is nil, then the wait
|
485
496
|
# time will be Capybara.default_max_wait_time.
|
486
497
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testcentricity_web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- A.J. Mrozinski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|