atspi_app_driver 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/atspi_app_driver.rb +6 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d930d5773b89a6c889d32f0e9df0eec9d7e79c9
|
4
|
+
data.tar.gz: eba633cc38136f387b44ac15381975898636f582
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13689dc202b10b4dfbcf71cd15ea9c58183eb590a7b211838393235ece69eb7d24388f73d7b5cbf53d2b3dc50ae193c2d5c54734bee4d40e5be63b1898d6ae9b
|
7
|
+
data.tar.gz: ae55b5cf166916508a90225ade3757495199e65f3f7b1fa2fdc5c78e744ee3a3a116f68eedce0eea4d0289d0ad4ab5dd7edb0a45127d31367a0fb0c07bc745d0
|
data/lib/atspi_app_driver.rb
CHANGED
@@ -87,8 +87,12 @@ class AtspiAppDriver
|
|
87
87
|
raise 'App not found' unless acc
|
88
88
|
|
89
89
|
frame = acc.get_child_at_index 0
|
90
|
-
frame.role
|
91
|
-
frame
|
90
|
+
role = frame.role
|
91
|
+
raise "Frame has unexpected role #{role.inspect}" unless role == :frame
|
92
|
+
|
93
|
+
wait_for('frame to be focused', 10) do
|
94
|
+
frame.get_state_set.get_states.to_a.include? :active
|
95
|
+
end
|
92
96
|
|
93
97
|
frame
|
94
98
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atspi_app_driver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matijs van Zuijlen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gir_ffi
|
@@ -88,3 +88,4 @@ signing_key:
|
|
88
88
|
specification_version: 4
|
89
89
|
summary: Test GNOME applications using Atspi
|
90
90
|
test_files: []
|
91
|
+
has_rdoc:
|