-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathCHANGES
2153 lines (1292 loc) · 62.1 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
v1.5 (2013-08-13)
[API CHANGES]
* Update to Selenium API 2.35. (andreastt)
v1.4 (2013-08-09)
[API CHANGES]
* Update to Selenium API 2.34. (andreastt)
[NEW FEATURES]
* Support for installing extensions through OperaProfile using the
new OperaProfile#addExtension(java.io.File) API. (robwu)
[BUG FIXES]
* Remove unnecessary casts. (andreastt)
[TESTS]
* Test for switchTo().frame + executeScript breaks context. (robwu)
v1.3 (2013-05-15)
[API CHANGES]
* Update to Selenium API 2.32. (barancev)
[BUG FIXES]
* Deleting "invisible" cookie should do nothing. (a.u.savchuk)
v1.2 (2013-02-27)
[API CHANGES]
* Implement new interface method of Cooridnates interface to address
Selenium 2.30 compatibility. (barancev)
[BUG FIXES]
* LogEntry should have a timestamp in milliseconds, not seconds.
(andreastt)
* OPDRV-217: Adjusted socket read and write operations for slow
devices. (mlech)
* Socket read retry by default should be immediately. (andreastt)
v1.1 (2012-10-09)
[API CHANGES]
* The capability opera.runner may now only be sent as a string.
[BUG FIXES]
* Enable the cookie manager service. (andreastt)
* Fix for serialization problems of specifying the opera.runner
capability. (andreastt)
* Fix for compile issues in ant build script. (andreastt)
v1.0 (2012-10-08)
[API CHANGES]
* ScreenCaptureReply has been renamed to ScreenCaptureReply.
* Introduced new capability, opera.runner, for specifying which
OperaRunner implementation to use.
* New capability, opera.emulationProfile, allows you to specify a
profile to use to emulate certain Opera Mobile configurations.
* Many internal classes have been renamed and moved around, but the
public implementations of WebDriver and WebElement should not be
affected.
[NEW FEATURES]
* OPDRV-223: Implement Opera Mobile emulation profiles. (andreastt)
* In-process Java implementation of the OperaRunner interface. It's
now possible to specify which runner to use by setting the
opera.runner capability to the full package path of the
implementing class, as such:
com.opera.core.systems.runner.inprocess.OperaInProcessRunner
(andreastt)
* OPDRV-225: Support for programmable soft keys. OperaMobileKeys
implements SOFT_KEY_1 through 4 which can be used with #sendKeys()
for OperaMobileDriver. (andreastt)
* Implement new selftest API. (andre)
[ENHANCEMENTS]
* OPDRV-229: Refactor screen capture API and implement captures for
OperaInProcessRunner. (andreastt)
* Generalize MD5 hashing functionality. (andreastt)
[BUG FIXES]
* OperaDriver object is now cleaned up on the dereferencing of
itself. (andreastt)
* Fix for warnings in OperaSettings. (andreastt)
* Treat no value for a preference as null. (danielb)
* Log finalized runner arguments when creating process. (andreastt)
* Fix that Keys.RETURN was not recognized by Opera. (andreastt)
* Don't set preferences on startup that are not recognized by Opera
Mobile. (danielb)
* Null-pointer check for socketChannel in StpConnection. (danielb)
* Extended wait time for mobile UI to become active (from 100 to 300
ms). (danielb)
* Fix OperaArguments#remove(). The previous version suffered from
not implementing #equals() and #hashCode(). (danielb)
* On quitting Opera, make null-pointer check for whether exec has
been populated. (andreastt)
* Fix Scope service version comparison. (andreastt)
* Correct script retry code in ScopeEcmascriptDebugger. (andreastt)
[TESTS]
* OPDRV-227: Allow parallelization of test suite. The number of
parallel browsers can be specified using the parallelDrivers
system property when running against *Tests.java classes.
(andreastt)
* Tessts for Proxy interface integration to OperaSettings.
(andreastt)
* Split out parser tests for preferences from files to separate test
class, OperaFilePreferencesParserTest. (andreastt)
* Moved in-test resources to separate files. (danielb, andreastt)
* Tests for form submission. (andreastt)
* HTTP authentication window tests for Mobile. (andreastt)
* Clean up reset window state tests. (andreastt)
* Change RequiresService annotation to use ScopeService enumeration
for services. (andreastt)
* Fix key events for ExecKeyTest tests. (andreastt)
* Page load is correctly only checked on input to an element now.
(andreastt)
* Fixes to OperaScopePreferencesTest. (andreastt)
* Test setup now properly supports using OPERA_PATH to specify a
custom build to run the tests against. (andreastt)
[OTHER]
* OPDRV-198: Major code cleanup and package renaming. (andreastt)
* Upgraded to Guava 13.0.1. (andreastt)
v0.18 (2012-08-27)
[NEW FEATURES]
* Support for HTML5 forms interaction on modern Opera builds (not
released). (andreastt)
[ENHANCEMENTS]
* Refactored typing code. This should address issue with typing
when using OperaDriver as a remote driver. (andreastt)
* Connection checks before calling eval() in most cases, also
removes runtime check for eval(). (andreastt)
[BUG FIXES]
* WebDriver PUA key mappings for PAGE_UP and PAGE_DOWN were wrongly
interpreted in OperaDriver. They should now be recognized.
(andreastt)
* Fix disabling of -pd argument sent to Opera. (andreastt)
* Disable preferences system on core mini profile. (andreastt)
* Allow ES init of windows without runtimes, but instead throw on
eval(). (andreastt)
* Fix issue with subsequent OperaDriver#get() calls non script
injectable pages. Requested URLs are now cached under these
circumstances. (andreastt)
* Refactor OperaDriver#getCurrentUrl() for non script injectable
runtimes. (andreastt)
* Always call OperaRunner#shutdown() on ScopeServices#quit() in case
of an exception. (danielb)
* Ignore AsynchronousCloseExceptions which sometimes occur on
shutdown. (andreastt)
* NPE check in EcmascriptService#findRuntime() in case XPath pointer
returns null. This happens when the XPath matches no properties
in the graph, and is documented by the library. (danielb)
* Workaround for -fullscreen argument must be sent last on Opera
Desktop on Mac. (danielb, andreastt)
* Fix OperaProxy init for disconnected tests. (andreastt)
[TESTS]
* Fix issue with disabling JavaScript injection in JavascriptTest.
(andreastt)
* Set default logging level in tests to Level.INFO. (andreastt)
* Use Keyboard directly for DriverKeysTest. (andreastt)
[OTHER]
* Update WebDriver atoms to latest Selenium HEAD. (andreastt)
* Update Selenium dependencies to latest Selenium HEAD. (andreastt)
v0.17 (2012-08-21)
[API CHANGES]
* Implemented WebDriver's Logs interface. Options#logs() will no
longer throw an UnsupportedOperationException.
* Introduced OperaLogType which lists the available logs you may
fetch from Opera through WebDriver's Logs API. In addition to the
ones listed there, OperaDriver supports LogType.DRIVER.
[NEW FEATURES]
* Add Architecture utility to help smoothen over JDK
incompatibilities.
* Implement Scope console logger service, which allows fetching
different types of console logs through OperaDriver. (andreastt)
[BUG FIXES]
* OperaSettings#setProfile("") now properly disabled -debugproxy.
(andreastt)
* Fix issue with element equality when using the OperaDriver as a
remote driver. (andreastt)
* Fix possible exception recursion in OperaDriver#gc(). (andreastt,
virgild)
* Cover all cases of invalid service lists. (andreastt)
* Allow ES init of windows without runtimes, but instead throw on
eval().
SDK has tests that disable scripting, therefore there will be no
runtime. Instead of using the prefs API to check for
scriptability, we use findRuntime() because it should be faster.
(andreastt)
* Fall back to quit Opera with OperaRunner if all else fails during
quit. (andreastt)
* Fix OperaDriver#getScreenshotAs() for non-HTML type documents.
(andreastt)
* Fix compile issues in Eclipse. (danielb)
* Exclude SDK product from new window closing mechanism.
(andreastt)
* Handle preferences with backslashes in OperaFilePreferences.
(virgild)
* Mention which bundled launcher was not found. (danielb)
* NPE check in EcmascriptService in findRuntime(). (danielb)
* Fixes for double-wrapped WebDriverExceptions in StpConnection.
(andreastt)
[TESTS]
* Fix exception message assertions for OperaSettingsIntegrationTest
and OperaLauncherRunnerTest. (andreastt)
* Remove outdated tests from OperaSettingsCapabilitiesTest.
(andreastt)
* Fix double call to OperaRunner#stopOpera() without null pointer
check. (andreastt)
[OTHER]
* Remove spammy log message called in a loop in OperaLauncherRunner.
(danielb)
* Set WINDOW_CLOSE_TIMEOUT to 500 ms. (danielb)
* 32-bit GNU/Linux launchers are named "i386" now. (andreastt)
* Update operalaunchers to 1.1. (andreastt)
* Update Selenium to daily snapshot 2.25.0-20120817. (andreastt)
v0.16.1 (2012-08-09)
[BUG FIXES]
* Fix 32-bit bundled launcher issue with Oracle JDK and OpenJDK.
The property "sun.arch" returns different things based on whether
you're using Oracle's or the Open JDK. On Oracle JDK it returns
"i386", whereas it returns "ia32" on OpenJDK.
This caused problems for anyone not using OpenJDK following the
03f9f2c27377b6b86a052fe56b859068c326f4b7 patch. This will fix the
OperaDriver tests on Suace's and Google's infrastructure.
(andreastt)
v0.16 (2012-08-02)
[API CHANGES]
* Introduced OperaMobileDriver class, exposing the following
additional APIs (inherits from OperaDriver):
- void rotate(ScreenOrientation orientation)
- ScreenOrientation getOrientation()
- TouchScreen getTouch()
* Several Opera specific features are now declared in role-based
interfaces, and the different products in OperaDriver implements
different sets of these interfaces. This should help future
compatibility with the Selenium remote driver. (andreastt)
* OperaProduct#toString() will now return an actual string
representation of the product, and not the identifier string. To
get the identifier, please use
OperaProduct#getDescriptionString().
* OperaDriver#proxy() returns OperaProxy, which can be used to
manipulate the proxy configuration during runtime. But please
prefer using org.openqa.selenium.Proxy as a capability instead.
(andreastt)
[NEW FEATURES]
* Support for Opera Mobile:
- Partial support for TouchScreen. down(), up(), move(), scroll()
and flick() will currently throw UnsupportedOperationExceptions.
- Partial support for Rotatable.
OperaMobileDriver#rotate(orientation) will throw
UnsupportedOperationException.
(andreastt)
* Support for Selenium's Proxy configuration. (mexicano, andreastt)
* Using precalculated MD5 sums for launchers. (danielb)
[BUG FIXES]
* Fix OPERA_ARGS not being parsed always. (andreastt)
* Fix OperaDriver#quit() to not hide any recursive exceptions,
especially dealing with garbage collection.
OperaDriver 0.15 may have left Opera instances running on the
system, and this patch should address that problem by more
reliably dealing with exceptions during shutdown.
(virgild, andreastt)
* Fix some cases of double-wrapped WebDriverExceptions. (andreastt)
* Checks for connection and null pointers in OperaDriver#gc().
(virgild)
[TESTS]
* Adapt test framework to support OperaMobileDriver. (andreastt)
* Run configuration for FindElementsTest. (andreastt)
* Fix OperaFilePreferencesTest for Mobile and cache
product/platform. (andreastt)
[OTHER]
* Updated the WebDriver atoms. (andreastt)
* Fix static analysis exclusions. (danielb)
* Updated Guava to 12.0.1. (andreastt)
* Updated window-manager Scope protocol to version 2.3. (andreastt)
v0.15 (2012-07-23)
[API CHANGES]
* DSK-354630: Add QuickMenu#isVisible(). (mzajaczkowski)
* DSK-348592: Allowing retrieval of elements that contain format
identifiers. (mzajaczkowski)
* Colours in OperaPreferences are now returned as strings instead of
instances of OperaColor. (andreastt)
* OPDRV-188: Selftest API refactor.
OperaDriver#selftest() no longer accepts a list of modules. It
now accepts exactly one module instead. (andreastt)
* Added API for altering the selftest timeout:
OperaTimeouts#selftestTimeout(). (andreastt)
[NEW FEATURES]
* Add support for the ARM platform. (farre)
[ENHANCEMENTS]
* Improving performance of the WM's window close code. (andreastt)
* OPDRV-201: Improving performance of executable location algorithm.
(andreastt)
* Relying on Selenium's Color class to do colour conversions.
Thanks to Bob Silverberg. (andreastt)
* OPDRV-195: Converting OperaIntervals to use Duration, and renaming
OperaFlags to OperaDefaults. (andreastt)
* Introduce a generic CallbackWait for use everywhere. (andreastt)
* Rewrite binary lookup code. (andreastt)
* Implemented launcher for ARM and changed naming scheme of
launchers. (farre)
[BUG FIXES]
* Service version comparison based on actual available service
versions given by Opera. (andreastt)
* OPDRV-185: Fixes fatal error when evaluating in a non-existent
runtime. (andreastt)
* DSK-358129: Make sure JARs aren't put in a subdirectory in case
`git describe` returns a string with a slash. (mzajaczkowski)
* DSK-354628: Fix profile handling in OperaDesktopDriver.
(mzajaczkowski)
* DSK-348590: Delay if two consequtive clicks are sent in a shorter
time period than the OS double-click timeout. (mzajaczkowski)
* DSK-355527: Respecting opera.no_quit in OperaDesktopDriver.
(mzajaczkowski)
* DSK-355552: Consider all special characters in regular expression
for WatirUtils. (mzajaczkowski)
* DSK-357520: Improve have_ui_string error handling.
(mzajaczkowski)
* DSK-346471: Items in folderdropdown in bookmark star dialogue
cannot be clicked on *nix. (mzajaczkowski)
* DSK-346770: change_page_with_click method returns success if
dialogue page changed. (mzajaczkowski)
* DSK-358152: Improve logging in problematic places for
OperaDesktopDriver. (mzajaczkowski)
* DSK-360865: Create Scope services after starting Opera to prevent
crash in OperaDesktopDriver. (mzajaczkowski)
* DSK-360264: Fixes issue with clicking checkboxes in some
dialogues. (mzajaczkowski)
* Only quit Opera if told not to detach the process. (andreastt)
* Handle + (plus) and - (dash) when parsing command-line arguments.
(danielb)
* Don't modify the logging level in AbstractTestCase, let the
suppliers decide. (andreastt)
* OPDRV-187: Restrict logging to com.opera.core.systems package.
(andreastt)
* Null pointer fix for OperaSettings#setBinary(). (danielb)
* OPDRV-190: Prevent excessive console logging. (andreastt)
* Fix for equality bug in Canvas. (andreastt)
* Only close a window if we are connected to Opera. (andreastt)
* Some selftests can take up to 200s to finish, increased the
overall selftest timeout to 200 s. (andreastt)
* Null pointer fix in EcmascriptService#setRuntime(). (danielb,
virgild)
* Opera SDK builds identify themselves as "devices", not "sdk".
(andreastt)
* Cleaned up retry and sleeps when failing to evaluate ECMAscript.
(danielb)
* Don't attempt to eval ECMAscript if script injection is not
available. (danielb)
* Handle preferences with no values. (danielb)
* Don't make launcher executable if it already is. (virgild)
* Use java.io.File#setExecutable() to make files executable.
(virgild)
[TESTS]
* OPDRV-13: Tests for OperaDesktopDriver (mzajaczkowski, andreastt)
* Integration of OperaDesktopDriver as a natural part of the test
framework. (andreastt)
* Added NeedsLocalEnvironment annotation for tests that needs to be
run locally. (andreastt)
* Ensuring runner shutdown for OperaLauncherRunnerTest. (andreastt)
* Add process manager to allow probing and force killing on
GNU/Linux and Windows. (andreastt)
* Test for OPERA_PATH and for detaching browser correctly.
(andreastt)
[OTHER]
* Much, much cleaning. (andreastt)
* Corrected documentation for OperaDefaults#APPEND_TO_LOGFILE.
(danielb)
* Updated Selenium dependency to 2.25.0. (andreastt)
* OPDRV-191: Removing unused class ScopeActions. (andreastt)
* OPDRV-193: Moving CaseInsensitiveStringSet to common.collect.
(andreastt)
* Updated URL of Sonar server. (danielb)
* Upgraded opera-launchers dependency to 0.9. (andreastt)
v0.14 (2012-05-29)
[API CHANGES]
* Added OperaMouse#tripleClick() and #quadrupleClick() which are
recognized by Opera. (andreastt)
* OperaUtils#getOS() renamed to #getPlatform(), and now returns type
Platform. (andreastt)
* Introduced ScopeServices#isConnected() to check for a connection
to Opera. (andreastt)
[NEW FEATURES]
* OPDRV-121: Implemented window-manager's CreateWindow command.
(andreastt)
[ENHANCEMENTS]
* OPDRV-179: Upgraded exec service to 2.2. (andreastt)
* Upgraded window-manager service to 2.2. (andreastt)
* OPDRV-127: Retreiving multi-click interval from awt.
(mzajaczkowski)
* Implemented Closeables. (andreastt)
* Abstracted hardcoded timeout for launcher response timeout to
OperaIntervals. (andreastt)
* Window closing code now respects that core-gogi and Desktop on
Windows has different concepts of what a window is. We cache the
number of open windows before WebDriver#close() call because they
will auto-open new windows when the last one is closed. If the
user tries to close the last window, we will quit the browser
according to the WebDriver spec. (andreastt)
* Cleaned up driver quit code: Opera is first closed, runner forces
an Opera shutdown, shuts down itself, then services are shut down.
Finally the profile and log files are cleaned up (after browser is
shut down), and then a garbage collection occurs. The `runner'
field is not nulled because the user might want to query whether
browser is running or not. (andreastt)
* No longer wrapping exceptions from Scope in WebDriverException's
as this obfuscates the real intent and since WebDriverException is
a final exception it will print twice since we catch it in
OperaDriver#init(). (andreastt)
* Generalized the sleep time between a window close in
OperaIntervals#WINDOW_CLOSE_SLEEP. (andreastt)
* Implemented OperaSettings#equals().
[BUG FIXES]
* Made default product DESKTOP, fixes issue with reusing old
profiles. (andreastt)
* OperaDriver#getWindowHandles() will return an empty set if we are
no longer connected to Opera. (andreastt)
* Fix OperaProfile to work with RemoteWebDriver. (dawagner)
* Close the socket output stream on
OperaLauncherProtocol#shutdown(). (danielb)
* Close the selector in SocketMonitor when done, otherwise we will
leak file descriptors. (danielb)
* Close ServerSocket if an exception is thrown. (danielb)
* OPDRV-125: Avoid sending double shutdown commands to launcher.
(mzajaczkowski)
* Logging file name and the actual IO issue when something goes bad
in OperaFilePreferences. (andreastt)
* Using an immutable list to define services. (andreastt)
* Propagating exception from OperaDriver#createScopeServices() since
we already catch everything and throw to WebDriverException in
OperaDriver#init(). (andreastt)
* Catching IOException explicitly in
OperaWebElement#saveScreenshot(). (andreastt)
* Not printing stack traces from SocketMonitor#stop() to stdout any
more. (andreastt)
* OperaLauncherProtocol now uses an immutable map as a reverse
lookup. (andreastt)
[TESTS]
* Replaced old window management code with CreateWindow from Scope.
(andreastt)
* Converted the HTTP redirect test to a local test. (andreastt)
* OPDRV-121: Added tests for resetting windows on a running browser.
Used in SpartanRunner. (andreastt)
* Refactored test framework to support probing of correct product.
(andreastt)
* Moved from Jetty to Webbit to match the Selenium project.
(andreastt)
* Misc. cleanup in WindowManager. (andreastt)
* TestOperaDriver#isRunning() makes call to
ScopeServices#isConnected() if runner is not present rather than
relying on a local boolean value. (andreastt)
* Removed unused method TestOperaDriver.getDefaultCapabilities().
(andreastt)
* Make sure runner is always shut down in OperaLauncherRunnerTest.
Fixes a test on GNU/Linux. (andreastt)
[OTHER]
* Officially targetting Java 6/JDK 1.6. (andreastt)
* Upgraded the WebDriver atoms. (andreastt)
v0.13 (2012-05-08)
[API CHANGES]
* Removed OperaDriver.getVersion(). (andreastt)
[BUG FIXES]
* Fix for overwriting outdated launchers. (andreastt)
* The default product in OperaSettings is now OperaProduct.ALL, so
that the command-line argument `-profile' is not appeneded every
time to the launcher. (andreastt)
* OperaUtils.getPID() might return null, so changing return type
from primitive int to Integer. (andreastt)
* Reverted patch to fixing useless control flows in
EcmaScriptDebugger since it caused issues for the
FrameSwitchingTest in Selenium. (andreastt)
[TESTS]
* Tests for checking `-profile' command-line argument in
OperaLauncherRunnerTest. (andreastt)
[OTHER]
* Upgraded operalaunchers to 0.8. (andreastt)
* Added Sonar build target. (danielb)
v0.12 (2012-05-04)
[API CHANGES]
* Removed deprecated methods OperaDriver.setPref() and getPref().
(andreastt)
* Removed deprecated methods OperaDriver.click(x,y) and
click(times). (andreastt)
* Deprecated method OperaDriver.getOperaActionList(). (andreastt)
* Deprecated method OperaWebElement.containsColor(). (andreastt)
* Deprecated capability opera.no_restart. (andreastt)
* Deprecated capability opera.no_quit, replaced by new capability
opera.detach. (andreastt)
[NEW FEATURES]
* Added OperaSettings for managing options to OperaDriver
internally. While this can be used for OperaDriver's constructor,
it's highly recommended to use Capabilities instead. (andreastt)
* Added ready-transformed Google Protobuf compatible protocols in
/protos. Original Scope protocols have been moved to
/protos/scope. See /protos/README for detailed instructions on
compilation. (andreastt)
[ENHANCEMENTS]
* Added default path lookup for Opera Mobile for Unix, Mac and
Windows. (andreastt)
* Raised handshake timeout to 60 seconds. (andreastt)
* By default we are now allowing popups to be opened when using
Opera through OperaDriver.
This can be disabled by doing:
preferences().set("User Prefs", "Ignore Unrequested Popups",
true);
(andreastt)
[BUG FIXES]
* Preserving mouse and keyboard state.
When running OperaDriver through a remote server stateless calls
are made through the JSON wire protocol. When performing an
Actions chain like this:
new Actions(driver).sendKeys(element, "foo").perform();
… we need to make sure to preserve the mouse move coordinates for
the next click() call.
(andreastt)
* Enabling clicking of disabled elements by default. Removed
jar_internal build target. (andreastt)
* Workaround for letting Opera Mobile autofocus form elements
through ECMAScript. (andreastt)
* Environment variable OPERA_LAUNCHER did not get recognized
properly. Cleaned up some dubious code paths in
OperaLauncherRunnerSettings. (andreastt)
* Made call to java.io.File.canExecute() in OperaLauncherRunner Java
1.5 safe. (andreastt)
* Added class OperaBoolean containing utility methosd for doing C to
JVM conversions. (andreastt)
* Implemented OperaArguments.toJson() for bean-to-JSON conversion.
(andreastt)
* Now using CommandLine from Selenium to launch Opera if using the
Java-based OperaRunner. (andreastt)
* Using OperaIntervals.RESPONSE_TIMEOUT for connection monitoring in
StpThread instead of a hardcoded 60 second value. (andreastt)
* Using correct interval for script retrying consistenly. Removed
OperaIntervals.SCRIPT_RETRY, replaced by SCRIPT_RETRY_INTERVAL.
(andreastt)
* Switched on logging for SocketMonitor. (andreastt)
* Removed PbActionHandler, and replaced by making calls directly to
OperaMouse. (andreastt)
* Check for null in OperaArguments.merge(). (andreastt)
* Fixed infinite recursive loop in OperaDesktopDriver.isOperaRunning().
(andreastt)
* Fixed dead store field in OperaStrings. (andreastt)
* In ScreenShotReply user-supplied byte array was stored directly, now
cloning it. (andreastt)
* List array to string array conversion with size boundaries in
OperaRunner. (andreastt)
* Correct lock release in OperaRunner under all exception
conditions. (andreastt)
* Fixed dead store field in OperaLauncherProtocol. (andreastt)
* SelfTestResult.hashCode() implemented to match equals(). (andreastt)
* Ensuring unlock on all exception paths in SocketMonitor.
(andreastt)
* All threads are now being notified in WaitState. (andreastt)
* Fixed many statical analysis bugs in DesktopWindowManager.
(andreastt)
* Preserving stack traces and forcing UTF-8 in ScopeServices.
(andreastt)
* OperaArguments.merge() made final because it's used from
constructor. (andreastt)
* Removed unused method OperaDriverBuilder.getDefaultSettings().
(andreastt)
* Using implied modifiers in many interfaces. (andreastt)
* Reusing OperaIntervals.PROCESS_START_SLEEP in OperaLauncherRunner.
(andreastt)
[TESTS]
* Mimicking Selenium test setup to more easily allow for test
sharing. (andreastt)
* Added FreshDriver, NoDriverAfterTest, NoDriver, RequireService and
Settings annotations to improve test setup. (andreastt)
* Added MockOperaDriver to allow testing of configuration parsing in
OperaSettingsTest. (andreastt)
* Enabled test web server to use a non-loopback address for testing
so that remote Operas can connect. (andreastt)
* Generalized environmental variables management to be included in
the generic test setup. (andreastt)
* Made it possible to also unset environmental variables during
runtime. (andreastt)
* Replaced TestOperaDriver.getDefaultCapabilities() with
TestOperaDriverSupplier instead. (andreastt)
* If testing on a remote device, we might not be using a local
OperaRunner. Added check for this. (andreastt)
* Removed getFixture() and related methods. Now relying completely
upon WebServer and Pages. (andreastt)
[OTHER]
* Upgraded to Selenium 2.21.0. (andreastt)
* Upgraded to Guava 12.0. (dawagner)
* Upgraded launchers to 0.7, now with support for taking external
screenshots on Mac. (andreastt)
v0.11 (2012-03-05)
[API CHANGES]
* Introducing OperaTimeouts.responseTimeout() for customizing the
response timeout interval. (andreastt)
* Removed opera.guess_binary_path capability. (andreastt)
* Recognizing opera.launcher capability. (andreastt)
* Deprecated OperaWebElement.click(int times), click(int x, int y)
and middleClick(). (andreastt)
[NEW FEATURES]
* Using new extension to hob, javagen, for generating Java classes
from Scope protocols. (andreastt)
* Support for clearing private data. (danielb/andreastt)
[ENHANCEMENTS]
* Upgraded to Selenium 2.20. (andreastt)
* Raising response timeout to 60 seconds. (andreastt)
* Improved reliability of implicit waits. (andreastt)
* OperaProfile.toJson() now returns a proper JSON representation of
the profile. (andreastt)
* Now relying more on the data types given by Opera for preferences.
(andreastt)
* Functionality for converting OperaDriver settings to capabilities.
(andreastt)
* Delegated more responsibilities during initialization to
OperaRunnerSettings. (andreastt)
[BUG FIXES]
* OperaArguments.merge() will now return a reference to it self.
(andreastt)
* OperaRunnerSettings.setBinary() now accepts java.io.File as the
default argument. (andreastt)
* If ENABLE_CHECKS is enabled, this is no longer applied to asserting
whether elements are displayed or not. (andreastt)
* Recompiled ecmascript service protocols to facilitate CORE-36517,
fixes SPARTAN-1165. (andreastt)
* Facilitate connecting to a remote host, addresses OPDRV-152.
(andreastt)
* Removed desktop-specific hardcoded response timeout to 30 seconds
when a window is loaded. (andreastt)