tg_send_duo 0.0.23 → 0.0.26
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/tg_send_duo.rb +14 -4
- 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: 739a446dbca6f627c6681130ac29177a487ea6a26a3e3655b6f3739ec142ec5f
|
4
|
+
data.tar.gz: 27182d01050d12a577e873afee9207cdb2a23c4f6d66e63f104dc40ed40eb0c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7040de060db9ca427f73a149230a330d8a14b38b87a3fff1e23c68e8f560676366711a8a6d8c9dfbdff0b59bb57bdc7ea8287d4af6617d8d54faf52534059167
|
7
|
+
data.tar.gz: 9873ef2fd7ed2dc6e5ff748d6bc857fe5f98bb5e2af9df423db88fc984e7a20ce9dc0af2857f22b15a3bdb40ae4f3f6d1a5422df1efe891013f2e002aef45f3b
|
data/lib/tg_send_duo.rb
CHANGED
@@ -157,6 +157,15 @@ class Naver
|
|
157
157
|
sleep(1)
|
158
158
|
@driver.execute_script("document.body.style.zoom = '70%'")
|
159
159
|
|
160
|
+
begin
|
161
|
+
#검색어가 입력되있는경우 크로스
|
162
|
+
wait = Selenium::WebDriver::Wait.new(:timeout => 1)
|
163
|
+
#요소가 나타날 때까지 3초 동안 기다립니다.
|
164
|
+
wait.until { @driver.find_element(:xpath, '//*[@class="Transition_slide icon-container-slide Transition_slide-active"]') }
|
165
|
+
@driver.find_element(:xpath, '//*[class="Transition_slide icon-container-slide Transition_slide-active"]').click
|
166
|
+
sleep(1)
|
167
|
+
rescue
|
168
|
+
end
|
160
169
|
|
161
170
|
begin
|
162
171
|
wait = Selenium::WebDriver::Wait.new(:timeout => 3)
|
@@ -316,13 +325,14 @@ class Naver
|
|
316
325
|
@driver.action.key_down(:enter).key_up(:enter).perform #엔터
|
317
326
|
#sleep(1)
|
318
327
|
|
328
|
+
|
319
329
|
########### 그룹 정보 가 나와있으면 닫기 ###########
|
320
330
|
begin
|
321
331
|
wait = Selenium::WebDriver::Wait.new(:timeout => 1.5)
|
322
332
|
#요소가 나타날 때까지 3초 동안 기다립니다.
|
323
|
-
wait.until { @driver.find_element(:xpath, '//*[@
|
333
|
+
wait.until { @driver.find_element(:xpath, '//*[@class="Button close-button smaller translucent round"]') }
|
324
334
|
sleep(1)
|
325
|
-
@driver.find_element(:xpath, '//*[@
|
335
|
+
@driver.find_element(:xpath, '//*[@class="Button close-button smaller translucent round"]').click
|
326
336
|
sleep(1)
|
327
337
|
rescue
|
328
338
|
end
|
@@ -472,9 +482,9 @@ class Naver
|
|
472
482
|
begin
|
473
483
|
wait = Selenium::WebDriver::Wait.new(:timeout => 1.5)
|
474
484
|
#요소가 나타날 때까지 3초 동안 기다립니다.
|
475
|
-
wait.until { @driver.find_element(:xpath, '//*[@
|
485
|
+
wait.until { @driver.find_element(:xpath, '//*[@class="Button close-button smaller translucent round"]') }
|
476
486
|
sleep(1)
|
477
|
-
@driver.find_element(:xpath, '//*[@
|
487
|
+
@driver.find_element(:xpath, '//*[@class="Button close-button smaller translucent round"]').click
|
478
488
|
sleep(1)
|
479
489
|
rescue
|
480
490
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tg_send_duo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.26
|
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-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: File to Clipboard gem
|
14
14
|
email: mymin26@naver.com
|