Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
4 views
in Selenium by (19.7k points)
recategorized by
I run my selenium tests across different web browsers like google chrome, firefox ie etc. These tests are being conducted in windows and Mac machines. We have a requirement to run those tests on mobile browsers. I was able to run in the mobile simulator safari browser successfully.

Now, I am wondering if it is possible to run those Selenium tests in other browsers like opera mini but I was not able to download opera mini browser in my simulator.

Can anyone suggest me if it is possible to download browsers in simulators? I am using XCODE to build the simulator.

2 Answers

0 votes
by (62.9k points)

You can download and build the chromium iOS browser in Xcode(Xcode is an integrated development setting for macOS containing a collection of software development tools developed by Apple for developing software for macOS) and run it in the iOS Simulator. It should be close to/in parity with the Chrome iOS browser, at least from a page rendering perspective (difference include things like Chrome's auto-update feature, built-in PDF viewer, Chrome's custom print preview, etc). Mostly supporting features to the core browsing experience.

 

iOS build instructions: https://chromium.googlesource.com/chromium/src/+/master/docs/ios/build_instructions.md

 

0 votes
by (2.6k points)

To get the latest date and corresponding value for each user:

SELECT t.username, t.date, t.value

FROM table_name t

JOIN (

    SELECT username, MAX(date) AS latest_date

    FROM table_name

    GROUP BY username

) sub ON t.username = sub.username AND t.date = sub.latest_date;

This finds the max date per user and retrieves the matching value.

1.4k questions

32.9k answers

507 comments

693 users

...