(proxy_string)
| 221 | |
| 222 | |
| 223 | def __display_proxy_warning(proxy_string): |
| 224 | message = ( |
| 225 | '\nWARNING: Proxy String ["%s"] is NOT in the expected ' |
| 226 | '"ip_address:port" or "server:port" format, ' |
| 227 | "(OR the key does not exist in " |
| 228 | "seleniumbase.config.proxy_list.PROXY_LIST)." % proxy_string |
| 229 | ) |
| 230 | if settings.RAISE_INVALID_PROXY_STRING_EXCEPTION: |
| 231 | raise Exception(message) |
| 232 | else: |
| 233 | message += " *** DEFAULTING to NOT USING a Proxy Server! ***" |
| 234 | warnings.simplefilter("always", Warning) # See Warnings |
| 235 | warnings.warn(message, category=Warning, stacklevel=2) |
| 236 | warnings.simplefilter("default", Warning) # Set Default |
no outgoing calls
no test coverage detected
searching dependent graphs…