seleniumwapper

Selenium Webdriver Wrapper om manipulatie gemakkelijker te maken
Download nu

seleniumwapper Rangschikking & Samenvatting

Advertentie

  • Rating:
  • Vergunning:
  • BSD License
  • Prijs:
  • FREE
  • Naam uitgever:
  • Keita Oouchi
  • Uitgever website:
  • https://github.com/ghostreet/

seleniumwapper Tags


seleniumwapper Beschrijving

Seleniumwapper is een Selenium Webdriver Python Wrapper om manipulatie gemakkelijker te maken. Hoe gaat het met het installeren van Python2.6 of later (inclusief Python3.x). U hebt PIP of distribueer of setuptools nodig: PIP INSTALLEREN SELENIUMWRAPPEREER GEBRUIK EASY_INSTALL: Easy_Install SeleniumwapperAlso u nodig heeft SeleniumExample om te gebruiken: >>> import seleniumwapper als selwrap >>> br = selwrap.create ("chrome") # seleniumwapper zijn gewikkelde webdriver. >>> br.Get ("http://www.example.com") >> br.xpath ("// div ) # Set Eager = TRUE => Find_Elements_by >>> Br.xpath ("// A", Eager = TRUE) # SeleniumcontainerWrapper Delegeer ook in de gewikkelde container. >>> Links = # Elke inhoud in SeleniumContainerWapper ook Seleniumwapper. >>> TDS = Basic api- seleniumwapper.create (drivingname) creëren WebDriver-instantie en wikkel het met seleniumwapper.Seniumiumwapper- unpap haalt webdriver of webelement op van gewikkeld object.- Wachtfor (type, doelwit, enthousiaste = false, time-out = 10) Zie bron.- XPath (doelwit, enthousiaste = false, time-out = 10) Find_Element_By_xpath (doelwit, time-out) - CSS (doelwit, enthousiaste = false, timeout = 10) Find_Element_By_CSS_SE Lector (doelwit, time-out) - tag (doelwit, enthousiast = false, timeout = 10) Find_element_by_tag_name (doelwit, time-out) - by_class (doelwit, enthousiaste = false, timeout = 10) Find_Element_By_Class_Name (doelwit, time-out) - by_id (doelwit, enthousiast = False, timeout = 10) Find_Element_By_ID (doelwit, time-out) - by_name (doelwit, enthousiaste = false, timeout = 10) Find_Element_By_Name (doelwit, time-out) - by_linktxt (target, enthousiaste = false, timeout = 10, partial = false) Find_Lement_By_Link_Text (Doel, time-out). Als Partial = True, dan vind_element_by_partial_link_text-href (Partialurl = NONE, EAGER = FALSE, Time-out = 10): Find_Element_By_xPath ("// A", Time-out). Als Partialurl werd gegeven, zoek 'A'-tag die HREF Partialurl bevat - IMG (Eager = True, EXT = NONE, TimeOut = 10) Find_Elements_By_xpath ("// img", time-out) .Product's startpagina


seleniumwapper Gerelateerde software