class_docstr: Wrapper for performing figure-resampler GUI.
class_docstr_tok: ["Wrapper","for","performing","figure-resampler","GUI","."]
docstr: Construct an instance of A firefox selenium driver to fetch wearable data.
  
  Parameters
  ----------
  username : str
      The e4connect login username.
  password : str
      The e4connect password.
  save_dir : str
      The directory in which the data elements will be saved.
  headless: bool, default: True
      If set to `True` the driver will be ran in a headless mode.
docstr_tok: ["Construct","an","instance","of","A","firefox","selenium","driver","to","fetch","wearable","data",".","Parameters","--","--","--","--","--","username",":","str","The","e4connect","login","username",".","password",":","str","The","e4connect","password",".","save_dir",":","str","The","directory","in","which","the","data","elements","will","be","saved",".","headless",":","bool",",","default",":","True","If","set","to","`","True","`","the","driver","will","be","ran","in","a","headless","mode","."]
code: def __init__(self, driver: webdriver, port: int):
      """Construct an instance of A firefox selenium driver to fetch wearable data.
  
      Parameters
      ----------
      username : str
          The e4connect login username.
      password : str
          The e4connect password.
      save_dir : str
          The directory in which the data elements will be saved.
      headless: bool, default: True
          If set to `True` the driver will be ran in a headless mode.
  
      """
      self.port = port
      self.driver: Union[webdriver.Firefox, webdriver.Chrome] = driver
      self.on_page = False
  
imports: from __future__ import annotations
  import json
  import time
  from typing import List, Union
  from selenium.webdriver.common.action_chains import ActionChains
  from selenium.webdriver.common.by import By
  from selenium.webdriver.support import expected_conditions
  from selenium.webdriver.support.ui import WebDriverWait
  from seleniumwire import webdriver
  from seleniumwire.request import Request
  from .utils import not_on_linux
label_desc: Use image node_id 1 to create a new FigureResamplerGUITests object  with example: obj = FigureResamplerGUITests(driver, port)