njongto_duo 0.0.75 → 0.0.77
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/njongto_duo.rb +13 -1
- 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: 46911fe2ade93b5ee8fee31f6e478f2436dfa0d43f14622401a44e7de77d0ac0
|
4
|
+
data.tar.gz: 73ce7a2290640ab7f7fbc366363b4e9c0c881f96a689d0611362ae9c540ed2b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c41ea3d2524642b06dfaeb17b121b29815caaee7e43912122a6676785856e0b8168b0550d40f90daff4db74ed3867040d25de4a49ba4faee7ab44ffff0b44de
|
7
|
+
data.tar.gz: 497827bf3924570ca8e7b408aae16dfd0885c6e851f2bfa7bbe96ca9502033b052a24c1c31d27a26d9747412ea56e4c8ad9f0a66c86fcce0b3b42394ade3e382
|
data/lib/njongto_duo.rb
CHANGED
@@ -232,6 +232,18 @@ class Naver
|
|
232
232
|
sleep(1.5)
|
233
233
|
@driver.find_element(:xpath, '//*[@type="submit" and @class="btn_check next_step" and @id="submit_btn"]').click
|
234
234
|
sleep(2.5)
|
235
|
+
begin
|
236
|
+
wait = Selenium::WebDriver::Wait.new(:timeout => 3)
|
237
|
+
#요소가 나타날 때까지 3초 동안 기다립니다.
|
238
|
+
wait.until { @driver.find_element(:xpath, '//button[@ype="button" and @id="new.save" and @class="btn_check nlog-click"]') } #기기 확인 버튼 확인
|
239
|
+
#wait.until { @driver.find_element(:xpath, '//button[@ype="button" and @id="new.dontsave" and @class="btn_white nlog-click"]') } #기기 취소 버튼 확인
|
240
|
+
sleep(1.5)
|
241
|
+
@driver.find_element(:xpath, '//button[@ype="button" and @id="new.save" and @class="btn_check nlog-click"]').click
|
242
|
+
#@driver.find_element(:xpath, '//button[@ype="button" and @id="new.dontsave" and @class="btn_white nlog-click"]') #기기 취소 버튼 클릭
|
243
|
+
rescue
|
244
|
+
end
|
245
|
+
|
246
|
+
|
235
247
|
rescue => e
|
236
248
|
puts '-[√] 로딩 지연 접속 실패.......'.red
|
237
249
|
@driver.window_handles.each do |handle|
|
@@ -245,7 +257,7 @@ class Naver
|
|
245
257
|
end
|
246
258
|
return 0
|
247
259
|
@driver.quit
|
248
|
-
end
|
260
|
+
end
|
249
261
|
|
250
262
|
else
|
251
263
|
# @driver.switch_to.default_content
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: njongto_duo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.77
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zon
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-07-
|
10
|
+
date: 2025-07-16 00:00:00.000000000 Z
|
11
11
|
dependencies: []
|
12
12
|
description: File to Clipboard gem
|
13
13
|
email: mymin26@naver.com
|