cafe_basics 0.0.29 → 0.0.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cafe_basics.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b708f080c9150f084831a31e1a4e5db79da52674dd854f076625f7f78c18f22d
|
4
|
+
data.tar.gz: da2ac58b60ada62e1cb390ddfaa47ba8572221802eb9195f09123e5e41e4d59f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99c14b3415ceb8c3f58870e7283df636e6e1776b8c1c70db84f136a087c4cfbc54c03cb5e0baf274b402b85b73e5e33f26bef00156916fe83c8cb0d03bfc8288
|
7
|
+
data.tar.gz: deac9b4801c263e4e2bcb59745d2ba90c90dc52c1ec79cf04180e5573fe63184f1eaf6403b3e44d6409d57677d9bb05a9ae31c1c503f968264a0d394763e398a
|
data/lib/cafe_basics.rb
CHANGED
@@ -767,18 +767,18 @@ class Naver
|
|
767
767
|
begin
|
768
768
|
wait = Selenium::WebDriver::Wait.new(:timeout => 3)
|
769
769
|
#요소가 나타날 때까지 60초 동안 기다립니다.
|
770
|
-
wait.until { @driver.find_element(:xpath, '//div[@class="se-custom-layer-option se-custom-layer-option-resizing"]//button[@class="se-custom-layer-resizing-reset-button"]') }
|
770
|
+
wait.until { @driver.find_element(:xpath, '//li[@class="se-toolbar-item se-toolbar-item-resizing"]//div[@class="se-custom-layer-option se-custom-layer-option-resizing"]//div[@class="se-custom-layer-resizing-option-group"]//button[@class="se-custom-layer-resizing-reset-button"]') }
|
771
771
|
sleep(1)
|
772
|
-
@driver.find_element(:xpath, '//div[@class="se-custom-layer-option se-custom-layer-option-resizing"]//button[@class="se-custom-layer-resizing-reset-button"]').click
|
772
|
+
@driver.find_element(:xpath, '//li[@class="se-toolbar-item se-toolbar-item-resizing"]//div[@class="se-custom-layer-option se-custom-layer-option-resizing"]//div[@class="se-custom-layer-resizing-option-group"]//button[@class="se-custom-layer-resizing-reset-button"]').click
|
773
773
|
sleep(1)
|
774
774
|
@driver.action.key_down(:enter).key_up(:enter).perform #엔터
|
775
775
|
sleep(1)
|
776
776
|
rescue
|
777
777
|
wait = Selenium::WebDriver::Wait.new(:timeout => 3)
|
778
778
|
#요소가 나타날 때까지 60초 동안 기다립니다.
|
779
|
-
wait.until { @driver.find_element(:xpath, '//span[@class="se-custom-layer-resizing-reset-label" and text()="초기화"]') }
|
779
|
+
wait.until { @driver.find_element(:xpath, '//li[@class="se-toolbar-item se-toolbar-item-resizing"]//div[@class="se-custom-layer-option se-custom-layer-option-resizing"]//div[@class="se-custom-layer-resizing-option-group"]//button[@class="se-custom-layer-resizing-reset-button"]//span[@class="se-custom-layer-resizing-reset-label" and text()="초기화"]') }
|
780
780
|
sleep(1)
|
781
|
-
@driver.find_element(:xpath, '//span[@class="se-custom-layer-resizing-reset-label" and text()="초기화"]').click
|
781
|
+
@driver.find_element(:xpath, '//li[@class="se-toolbar-item se-toolbar-item-resizing"]//div[@class="se-custom-layer-option se-custom-layer-option-resizing"]//div[@class="se-custom-layer-resizing-option-group"]//button[@class="se-custom-layer-resizing-reset-button"]//span[@class="se-custom-layer-resizing-reset-label" and text()="초기화"]').click
|
782
782
|
sleep(1)
|
783
783
|
@driver.action.key_down(:enter).key_up(:enter).perform #엔터
|
784
784
|
sleep(1)
|