cafe_buy 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/cafe_buy.rb +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: becffcc5bd4c6d0a156c0ad299e5225d556e52b214ca3777c381d474ffce2748
|
4
|
+
data.tar.gz: eaf916abe14b460dea6640ad29bb27adaa6e4d50a0d60080cf85b68b79f2dd61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eeaef8b23d987b67d8b2677b23aeec7f34923c27b425ae416ab916af624f66d46548481c73e1647e8ba70ba4bf1d36ca0f68c5034086a81627f7fe40149d6621
|
7
|
+
data.tar.gz: b72c60af46235900174c8381e424b5601714182265f590a81fa70f70859194c4ca4c97a38e9bf86a525739f20c046eb13b7b2f15e6edf87fc23ff92c64787e16
|
data/lib/cafe_buy.rb
CHANGED
@@ -1101,11 +1101,20 @@ end
|
|
1101
1101
|
sleep(3)
|
1102
1102
|
@driver.action.key_down(:up).key_up(:up).perform #x탭
|
1103
1103
|
sleep(1)
|
1104
|
+
begin
|
1105
|
+
wait = Selenium::WebDriver::Wait.new(:timeout => 3)
|
1106
|
+
#요소가 나타날 때까지 60초 동안 기다립니다.
|
1107
|
+
wait.until { @driver.find_element(:xpath, '//*[@class="se-placeholder __se_placeholder se-ff-system se-fs13"]') }
|
1108
|
+
sleep(1)
|
1104
1109
|
@driver.find_element(:xpath, '//*[@class="se-placeholder __se_placeholder se-ff-system se-fs13"]').click
|
1110
|
+
sleep(1)
|
1105
1111
|
@driver.action.send_keys(title).perform
|
1106
1112
|
sleep(1)
|
1107
1113
|
@driver.action.key_down(:enter).key_up(:enter).perform #엔터
|
1108
1114
|
sleep(1)
|
1115
|
+
rescue
|
1116
|
+
@driver.action.key_down(:down).key_up(:down).perform
|
1117
|
+
end
|
1109
1118
|
|
1110
1119
|
elsif i2.to_s.include?('<inyonggoo')
|
1111
1120
|
if i2.text == ''
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cafe_buy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: File to Clipboard gem
|
14
14
|
email: mymin26@naver.com
|