Uber login (Google SSO)
Log into Uber (riders.uber.com) with Continue with Google, handling the Google account chooser and consent screen, and land on your trips page. Returns straight away if you are already signed in, and reports the Uber account email and first name. Stops with a clear message if Uber asks for a phone number or SMS code instead of filling anything in. Optionally pass which Google account to use. Needs a browser already signed in to Google and a Google account that already has an Uber account.
Input
email optionalGoogle account to pick in the chooser. Omit to use the first account listed.
Output
url requiredalready requiredtrue when a session already existed and no sign-in was needed
loggedIn requiredname optionalUber rider first name
account optionalUber account email
FAQ
List Uber trips
List the signed-in rider's past Uber trips (riders.uber.com/trips), newest first, one page at a time as Uber pages them. Returns per trip: tripId (uuid), title (destination address), when (e.g. "Mar 3 • 8:15 PM"), amount (e.g. "€14.50"), url. Pass the returned nextCursor as cursor to get the next, older page; nextCursor is null and complete is true on the last page. A rider with no trips gets an empty list. tripId is the join key for riders.uber.com/download_invoice.
Uber whoami (signed-in rider account)
Report which Uber rider account this browser is signed in as: the rider id, first and last name, email and phone number. If the browser is not signed in to Uber, the run fails with a signed-out error that asks you to sign in to riders.uber.com; loggedIn is true on every answer.
Download Uber trip invoice PDF
Download one Uber trip's invoice PDF (trip page > Download Invoice) by tripId (uuid from riders.uber.com/list_trips). Returns the file's filename and the path where the browser saved it (or a url to it on a managed browser), so you can read or move the PDF directly. Trips without an invoice (e.g. canceled €0.00 rides) have no Download Invoice affordance and fail loudly.
