~uriboni/webbrowser-app/tab-context-menu

« back to all changes in this revision

Viewing changes to tests/autopilot/webbrowser_app/emulators/browser.py

  • Committer: CI Train Bot
  • Author(s): Olivier Tilloy, Ugo Riboni
  • Date: 2015-08-11 11:18:30 UTC
  • mfrom: (985.6.52 uriboni-find-in-page)
  • Revision ID: ci-train-bot@canonical.com-20150811111830-o328zwwobjvumevy
Implement the "Find in Page" feature.
This bumps the runtime dependency on liboxideqt-qmlplugin to 1.8. Fixes: #1312260
Approved by: Riccardo Padovani

Show diffs side-by-side

added added

removed removed

Lines of Context:
230
230
    def get_tabs_bar(self):
231
231
        return self.select_single(TabsBar)
232
232
 
 
233
    def get_find_next_button(self):
 
234
        return self.select_single("ChromeButton",
 
235
                                  objectName="findNextButton")
 
236
 
 
237
    def get_find_prev_button(self):
 
238
        return self.select_single("ChromeButton",
 
239
                                  objectName="findPreviousButton")
 
240
 
233
241
 
234
242
class AddressBar(uitk.UbuntuUIToolkitCustomProxyObjectBase):
235
243
 
267
275
        return self.select_single("QQuickMouseArea",
268
276
                                  objectName="bookmarkToggle")
269
277
 
 
278
    def get_find_in_page_counter(self):
 
279
        return self.select_single("Label", objectName="findInPageCounter")
 
280
 
270
281
 
271
282
class TabsBar(uitk.UbuntuUIToolkitCustomProxyObjectBase):
272
283