Есть скрипт, запускаю его у себя на win7 - все ок. Как только передаю другому человеку с win8 - на половине скрипта он зависает. Все установлено - python, selenium. Кто-то может помочь разобраться в чем проблема ?
# encoding: utf-8
from selenium.webdriver.common.action_chains import ActionChains
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import WebDriverWait
import time
driverff = webdriver.Firefox()
driverff.get("http://master.test.parfumplanet.ua")
time.sleep(3)
driverff.maximize_window()
#try:
enter_button = driverff.find_element_by_xpath("//a[@title = 'Вход'][@class = 'logUrl']")
actions = ActionChains(driverff)
actions.click(enter_button).perform()
email_field = driverff.find_element_by_xpath("//input[@name = 'LoginFormModel[email]']")
email_field.send_keys("weise@list.ru")
password_field = driverff.find_element_by_xpath("//input[@name = 'LoginFormModel[password]']")
password_field.send_keys("123456")
enter_button_with_fields = driverff.find_element_by_xpath("//a[@class='button loginFormButton']")
actions.click(enter_button_with_fields).perform()
time.sleep(10)
#WebDriverWait(driverff, 10).until(EC.presence_of_element_located(By.XPATH,"//span/b[.='Selenium']"))
#except:
# import traceback
# import sys
# type_, value_, trace_ = sys.exc_info()
# print type_, value_
# print traceback.format_tb(trace_)
driverff.get("http://master.test.parfumplanet.ua/parfyumeriya/muzhskaya-parfyumeriya/drifter")
to_basket_button = driverff.find_element_by_xpath("//a[@class='buttonC tobasket ']")
actions = ActionChains(driverff)
actions.click(to_basket_button).perform()
time.sleep(3)
checkout_button = driverff.find_element_by_xpath("//a[@class='buttonC big']")
actions = ActionChains(driverff)
actions.click(checkout_button).perform()
time.sleep(3)
region_dropdown_show = driverff.find_element_by_xpath("//input[@placeholder='Выберите Область']")
actions = ActionChains(driverff)
actions.click(region_dropdown_show).perform()
actions = ActionChains(driverff)
region = driverff.find_element_by_xpath("//ul/li[.='Харьковская область']")
actions.click(region).perform()
time.sleep(3)
actions = ActionChains(driverff)
city_dropdown_show = driverff.find_element_by_xpath("//input[@placeholder='Выберите Город']")
actions.click(city_dropdown_show).perform()
actions = ActionChains(driverff)
city = driverff.find_element_by_xpath("//ul/li[.='Харьков']")
actions.click(city).perform()
time.sleep(3)
actions = ActionChains(driverff)
delivery_dropdown_show = driverff.find_element_by_xpath("//input[@placeholder='Выберите Тип доставки']")
actions.click(delivery_dropdown_show).perform()
actions = ActionChains(driverff)
delivery_type = driverff.find_element_by_xpath("//ul/li[.='Новая Почта']")
actions.click(delivery_type).perform()
time.sleep(3)
actions = ActionChains(driverff)
warehouse_dropdown_show = driverff.find_element_by_xpath("//input[@placeholder='Выберите Адрес склада']")
actions.click(warehouse_dropdown_show).perform()
actions = ActionChains(driverff)
warehouse_number = driverff.find_element_by_xpath("//ul/li[.='Отделение № 1: ул. Плехановская, 126']")
actions.click(warehouse_number).perform()
time.sleep(3)
actions = ActionChains(driverff)
payment_type_dropdown_show = driverff.find_element_by_xpath("//input[@placeholder='Выберите Тип оплаты']")
actions.click(payment_type_dropdown_show).perform()
actions = ActionChains(driverff)
payment_type = driverff.find_element_by_xpath("//ul/li[.='Наличные']")
actions.click(payment_type).perform()
time.sleep(3)
phone_field = driverff.find_element_by_xpath("//input[@id='OrderFormModel_phone1number']")
actions = ActionChains(driverff)
actions.click(phone_field).perform()
phone_field.send_keys("0509209461")
time.sleep(3)
actions = ActionChains(driverff)
confirm_order_button = driverff.find_element_by_xpath("//input[@class='buttonC big confirmOrder']")
actions.click(confirm_order_button).perform()
time.sleep(3)
#except:
# import traceback
# import sys
# type_, value_, trace_ = sys.exc_info()
# print type_, value_
# print traceback.format_tb(trace_)
#finally:
driverff.close()
#driverChrome = webdriver.Chrome('C:\Python27\Scripts\chromedriver.exe')
#driverChrome.get("http://master.test.parfumplanet.ua/parfyumeriya/muzhskaya-parfyumeriya/drifter")
#to_basket_button = driverChrome.find_element_by_xpath("//a[@class='buttonC tobasket ']")
#actions = ActionChains(driverChrome)
##actions.click(to_basket_button)
#actions.perform()
#time.sleep(2)
#checkout_button = driverChrome.find_element_by_xpath("//a[@class='buttonC big']")
#actions = ActionChains(driverChrome)
#actions.click(checkout_button)
#actions.perform()
#time.sleep(2)
#driverChrome.close()