TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Lexar's
    L
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    Lexar's

    @Lexar's

    0
    Reputation
    2
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Lexar's Unfollow Follow

    Latest posts made by Lexar's

    • RE: WhatsApp Microsoft Store Alexa

      @Russ thx, dude!! 🙂

      posted in Alexa
      L
      Lexar's
    • WhatsApp Microsoft Store Alexa

      Does anyone know a command for the new WhatsApp from the Microsoft Store? I used Alexa a lot to call the old WhatsApp, but now it is mandatory to have the one from the Microsoft Store installed

      posted in Alexa
      L
      Lexar's
    • RE: Error

      @tuicemen or @Russ can you tell me if there's something wrong with my python script?

      posted in Windows
      L
      Lexar's
    • RE: Error

      @tuicemen said in Error:

      @lexar-s the USB error suggest a driver issue.
      Windows installs what it thinks is the best driver for devices and these are not always the ones that work.
      What USB devices do you have plugged into your PC?
      Perhaps if you posted your full python script it would help @russ or others figure out what else may be a issue.

      Ok'

      from selenium import webdriver
      from selenium.webdriver.common.keys import Keys
      from selenium.webdriver.common.by import By
      from selenium.webdriver.support.ui import WebDriverWait
      from selenium.webdriver.support import expected_conditions as EC
      import time
      import sys
      
      if len(sys.argv) == 2:
          movie = sys.argv[1]
      else:
          movie = ' '.join(sys.argv[1:])
      
      PATH = r"C:\Users\Lexar's\Documents\ChromeDriver\ChromeDriver.exe"
      
      driver = webdriver.Chrome(PATH)
      
      driver.get("https://www.netflix.com/br/login")
      element = driver.find_element_by_name("userLoginId")
      
      element.send_keys("netflix@gmail.com")
      time.sleep(0.2)
      
      element2 = driver.find_element_by_name("password")
      element2.send_keys("netflix")
      time.sleep(0.3)
      element2.send_keys(Keys.RETURN)
      time.sleep(2)
      
      profile = driver.find_element_by_link_text("TELA02")
      profile.click()
      
      time.sleep(3)
      search = driver.find_element_by_class_name("searchBox")
      search.click()
      
      time.sleep(1)
      searchbox = driver.find_element_by_name("searchInput")
      searchbox.send_keys(movie)
      
      time.sleep(0.5)
      searchbox.send_keys(Keys.RETURN)
      
      time.sleep(2)
      scene = driver.find_element_by_xpath("/html/body/div[1]/div/div/div[1]/div/div[2]/div/div/div/div[2]/div/div/div[1]/div/div/div/div/div/div[1]")
      scene.click()
      
      time.sleep(0.5)
      submit = driver.find_element_by_xpath("//button[@class='color-primary hasLabel hasIcon ltr-1jnopvq']")
      submit.click()
      
      time.sleep(5)
      move = driver.find_element_by_xpath("//button[@class='touchable PlayerControls--control-element nfp-button-control default-control-button button-nfplayerBack tooltip-button tooltip-button-pos-center tooltip-button-align-right']")
      move.send_keys(Keys.TAB)
      
      time.sleep(0.5)
      fullscreen = driver.find_element_by_xpath("//button[@class='touchable PlayerControls--control-element nfp-button-control default-control-button button-nfplayerFullscreen']")
      fullscreen.click()
      
      

      Another detail, she doesn't search for the movie or series through the script I made

      posted in Windows
      L
      Lexar's
    • RE: Error

      @russ said in Error:

      @lexar-s, how are you getting that error? Are you using selenium?

      Google translated that as, "The I/O operation was aborted due to a thread exit or an application request. (0x3E3)"

      @Russ Yes, I am but when I put the PATH path "C:\Users\Lexar's\Documents\ChromeDriver\ChromeDriver.exe" it doesn't work and when I leave it (PATH) driver = webdriver.Chrome(PATH) it works, but with USB error The I/O operation was aborted due to a thread exit or an application request. (0x3E3
      [7688:10380:0128/113046.882:ERROR:chrome_browser_main_extra_parts_metrics.cc(227)] START: ReportBluetoothAvailability(). If you don't see the END: message, this is crbug.com/1216328.
      [7688:10380:0128/113046.882:ERROR:chrome_browser_main_extra_parts_metrics.cc(230)] END: ReportBluetoothAvailability()
      [7688:10380:0128/113046.885:ERROR:chrome_browser_main_extra_parts_metrics.cc(235)] START: GetDefaultBrowser(). If you don't see the END: message, this is crbug.com/1216328.
      [7688:5364:0128/113046.886:ERROR:device_event_log_impl.cc(214)] [11:30:46.886] USB: usb_device_handle_win.cc:1050 Failed to read descriptor from node connection: Um dispositivo conectado ao sistema nÒo estß funcionando. (0x1F)
      [7688:5364:0128/113046.887:ERROR:device_event_log_impl.cc(214)] [11:30:46.887] USB: usb_device_handle_win.cc:1050 Failed to read descriptor from node connection: Um dispositivo conectado ao sistema nÒo estß funcionando. (0x1F)
      [7688:10380:0128/113046.895:ERROR:chrome_browser_main_extra_parts_metrics.cc(239)] END: GetDefaultBrowser()

      What is wrong with my python script?

      posted in Windows
      L
      Lexar's
    • Error

      Re: Open Specific Netflix Movie with Alexa

      @Russ can you help me error? usb_device_handle_win.cc:1050 Failed to read descriptor from node connection: A opera o de E/S foi anulada devido a uma sa da de thread ou a uma requisi o de aplicativo. (0x3E3)

      posted in Windows
      L
      Lexar's